[ncl-talk] can't read variable correctly
Rick Brownrigg
brownrig at ucar.edu
Thu May 21 08:13:36 MDT 2020
HI,
"wget" reports that there is no such file on the ftp site. I cut/paste the
filename verbatim.
It might help to simply show the results of the printVarSummary(). Are
there scale and offset attributes associated with the variable?
Rick
On Wed, May 20, 2020 at 10:51 PM Zoey via ncl-talk <ncl-talk at ucar.edu>
wrote:
> Hello,
>
> I met a problem about data reading.
>
> In the
> file:2008166021843_11326_CS_MOD06-1KM-AUX_GRANULE_P1_R05_E02_F00.hdf( The
> file was uploaded to ftp.cgd.ucar.edu.), I find the variable which is
> named "Cloud_top_temperature_1km_add_offset" is actually an one-dimensional
> array, but it is recognized as a scale when I read the file as a hdfeos
> file using NCL. I don't know how to read it correctly.
>
> The corresponding scripts are as follows:
>
> fi=addfile(./2008166021843_11326_CS_MOD06-1KM-AUX_GRANULE_P1_R05_E02_F00.hdf+".hdfeos","r")
> var = "Cloud_top_temperature_1km_add_offset_MOD06_1KM_AUX"
> CTTa=fi->$var$
> printVarSummary(CTTa)
>
>
> Thanks a lot
> Zoey
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200521/5e1c65d7/attachment.html>
More information about the ncl-talk
mailing list