RE: [pyngl-talk] Problems opening CloudSat HDF-EOS files

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu, 4 Oct 2007 11:05:42 -0600 (MDT)

Eric,

Yes, this fix will let you extract the gelocation data, as long
as you open the file with the ".hdfeos" extension. The variables
will be "Latitude_1B_CPR" and "Longitude_1B_CPR". I'm building you
a new version now, and will contact you offline when it's ready.

--Mary

On Thu, 4 Oct 2007, Kemp, Eric M. wrote:

>
> Mary:
>
> I have two machines (in order of preference):
>
> Linux cumulus 2.6.16.27-0.9-smp #1 SMP Tue Feb 13 09:35:18 UTC 2007 x86_64 x86_64 x86_64 GNU/Linux
>
> Linux sleet4 2.6.9-1.667smp #1 SMP Tue Nov 2 14:59:52 EST 2004 i686 i686 i386 GNU/Linux
>
> Question: Does the fixed Nio module let you extract the geolocation data (stored in HDF-EOS Swath
> format)? I need to access the latitude and longitude arrays.
>
> Thanks!
>
> -Eric
>
>
> -----Original Message-----
> From: Mary Haley [mailto:haley_at_ucar.edu]
> Sent: Wed 10/3/2007 7:22 PM
> To: Kemp, Eric M.; Alliss, Randall J.
> Cc: pyngl-talk_at_ucar.edu
> Subject: RE: [pyngl-talk] Problems opening CloudSat HDF-EOS files
>
>
> Dave Brown fixed a simple bug that enables PyNIO to read this file
> with either extension. I believe it had to with with an attribute with
> a "logical" type.
>
> If you want a new version of PyNIO, send me a personal email with your
> "uname -a" info.
>
> Thanks,
>
> --Mary
>
> On Wed, 3 Oct 2007, Alliss, Randall J. wrote:
>
>> Eric,
>> Put it on the ftp server for Mary
>>
>> ftp://wx1.it-protect.com/pub
>>
>>
>> 2007269075138_07514_CS_1B-CPR_GRANULE_P_R04_E02.hdf.hdf
>>
>>
>> randy
>>
>> -----Original Message-----
>> From: Mary Haley [mailto:haley_at_ucar.edu]
>> Sent: Wednesday, October 03, 2007 3:47 PM
>> To: Kemp, Eric M.
>> Cc: pyngl-talk_at_ucar.edu; Alliss, Randall J.
>> Subject: Re: Problems opening CloudSat HDF-EOS files
>>
>>
>> Hi Eric,
>>
>> Is there a way we can get a copy of this file to take a look?
>>
>> --Mary
>>
>> On Wed, 3 Oct 2007, Kemp, Eric M. wrote:
>>
>>>
>>> Dear pyngl-talk:
>>>
>>> I am having problems opening CloudSat HDF-EOS files with PyNGL. I
>>> have downloaded four sample files (2B-CLDCLASS, 2B-GEOPROF,
>>> 2B-GEOPROF-LIDAR, and 1B-CPR), but my simple python script seg faults
>> when opening the file:
>>>
>>>
>>> #!/usr/bin/env python
>>> """
>>> Simple script to open CloudSat 1B-CPR data.
>>>
>>> """
>>>
>>> import os,sys,math
>>> import numpy
>>> import Nio
>>> import Ngl
>>>
>>> #
>>> # Open CloudSat file
>>> #
>>> file =
>>> Nio.open_file("2007269075138_07514_CS_1B-CPR_GRANULE_P_R04_E02.hdf.hdf
>>> eos","r")
>>>
>>>
>>>
>>> When I use the .hdf suffix, the file opens but I cannot extract the
>>> geolocation data.
>>>
>>> I am using Python 2.5.1, numpy 1.0.3, and Ngl/Nio 1.2.0 built with gcc
>>
>>> 3 for an i686 system.
>>>
>>> Any ideas?
>>>
>>> Thanks,
>>>
>>> -Eric
>>>
>>>
>>> Eric M. Kemp
>>> Meteorologist
>>> Northrop Grumman Information Technology Intelligence Group (TASC)
>>> 4801 Stonecroft Boulevard
>>> Chantilly, VA 20151
>>> (703) 633-8300 x7078 (lab)
>>> (703) 633-8300 x8278 (office)
>>> (703) 449-3400 (fax)
>>> eric.kemp_at_ngc.com
>>>
>>>
>>
>
>
_______________________________________________
pyngl-talk mailing list
pyngl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Thu Oct 04 2007 - 11:05:42 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 10 2007 - 17:15:05 MDT