Re: Unsigned/Signed bytes in NCL

From: Rick Brownrigg <brownrig_at_nyahnyahspammersnyahnyah>
Date: Wed Nov 27 2013 - 10:43:08 MST

Hi,

Are you saying that when NCL opens your file, it believes the variable in question is of type unsigned-byte? What does the output of "printVarSummary(…yourVariable…)" look like?

Rick

On Nov 27, 2013, at 10:27 AM, Lisa Alexander <lisa_s_a@yahoo.ca> wrote:

> Hello,
>
> I am a new user to NCL. I am using NCL version 6.1.2.
> I have been having some trouble with NCL in reading byte data from netCDF files. I have a variable that I am trying to read that has all positive values (reflectivity), but the missing_value is -99. NCL seems to only want to read it as a unsigned byte (0 to 255) which means the variable shows a non-uniform error message.
>
> Is there any way to get NCL to read the data as a signed byte type so that the -99 values are valid in the data set?
>
> Thanks for your help,
> Lisa
>
>
> _______________________________________________
> 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 Wed Nov 27 10:43:17 2013

This archive was generated by hypermail 2.1.8 : Wed Dec 04 2013 - 20:42:38 MST