Re: ncl_filedump output

From: Tong Qi <tongqi2_at_nyahnyahspammersnyahnyah>
Date: Tue Apr 06 2010 - 13:51:47 MDT

Thank you for the script for reading Height. I notice it is signed so 5.1.1
can read it no problem.
Is there any way to properly read EV_1KM_Emissive since it is unsigned? The
latitude and longitude I use to read it are found in another file, but the
main issue is that NCL reads the unsigned integer values incorrectly. Is
there any way to convert the unsigned data into signed so NCL can use it?

On Tue, Apr 6, 2010 at 2:37 PM, Dennis Shea <shea@ucar.edu> wrote:

> The attached which uses 5.1.1 was able to read/plot the data .. no problem.
>
> Good luck
>
>
>
>
> >The file is MOD021KM.A2000055.0000.005.2010041143816.hdf
> >I am still using NCL 5.1.1 so that is probably why the unsigned >integers
> are not supported.
> >Since I am not in a rush to plot this data, would you recommend I wait
> >for the full release of 5.2.0 or use the current beta? I notice on >your
> website it says you hope to release 5.2.0 by the end of this >month.
>
> >-Tong
>
>
> On 04/06/2010 09:36 AM, Tong Qi wrote:
>
>> Hello NCL-Talk,
>>
>> I am trying to plot some HDFEOS2 data, but after noticing that the
>> output values did not correspond to the data, I used ncl_filedump and
>> found that it was producing the wrong values as well. For example, the
>> data I am trying to plot is a 2-D array of 16-bit unsigned integers, but
>> ncl_filedump produces negative values that differ from the data. I am
>> using HDFView to view the data. Any help is appreciated.
>>
>> Thanks,
>> -Tong
>>
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
>
>
>
> --
> ======================================================
> Dennis J. Shea tel: 303-497-1361 |
> P.O. Box 3000 fax: 303-497-1333 |
> Climate Analysis Section |
> Climate & Global Dynamics Div. |
> National Center for Atmospheric Research |
> Boulder, CO 80307 |
> USA email: shea 'at' ucar.edu |
> ======================================================
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Apr 6 13:51:54 2010

This archive was generated by hypermail 2.1.8 : Wed Apr 07 2010 - 07:12:50 MDT