[SciPy-User] genfromtxt but I need to search file first

Warren Weckesser warren.weckesser at enthought.com
Thu Apr 21 23:14:27 EDT 2011


On Thu, Apr 14, 2011 at 5:00 PM, Warren Weckesser <
warren.weckesser at enthought.com> wrote:

>
>
> On Tue, Apr 12, 2011 at 10:54 PM, Ben Harrison <
> ben.harrison at liquidmesh.com> wrote:
>
>> On 13/04/11 00:25, Warren Weckesser wrote:
>> > By any changes is this a LAS file?  Take a look here:
>> > http://mail.scipy.org/pipermail/numpy-discussion/2011-March/055563.html
>> > and at my response.  I included a "quick and dirty" implementation of a
>> > LAS reader.  (I have a nicer version in progress, but it will be a few
>> > days before I can finish it.)  In the version attached to that email, I
>> > just use loadtxt() to read the data after the ~A line.
>> >
>> > Warren
>> >
>>
>> Yes it is a LAS file, they are pesky things.
>> I'll try your script, or steal methods from it!
>>
>> Will you be publishing your nicer script anywhere in particular? Could
>> you let me know somehow when you have?
>>
>
>
> The "Input Output" section of the SciPy Cookbook (
> http://www.scipy.org/Cookbook) looks like as good a place as any.  I'll
> create a page for it there once I've clean up a few things.
>
>

A LAS reader is now here: http://www.scipy.org/Cookbook/LASReader

Warren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20110421/4cb3ea5a/attachment.html>


More information about the SciPy-User mailing list