[ncl-talk] changing the dimension

Dennis Shea shea at ucar.edu
Sat Jun 25 14:00:12 MDT 2016


In a an offline email your wording indicated wanted a zonal (constant
latitude) cross-section of the swath data. The swath has lat and lon are
represented as follows:

;--- Read lat/lon swath locations.
   longitude = hdf4_file->Longitude                   ; [nscan | 9247] x
[nray | 49]
   latitude  xx= hdf4_file->Latitude

Hence, the data are curvilinear in NCL semantics.

===
A swath is a narrow band. In my opinion, binning or tiling are the best
methods to use to grid the values. NCL has a simple binning methodology
that can be used to create a rectilinear grid. The 'zonal' plot can be
created from the new grid.

See attached



On Sat, Jun 18, 2016 at 10:21 AM, Geeta Geeta <geetag54 at yahoo.com> wrote:

> Thanks Dennis.
>  with the modification of the code, I am able to get ht on the vertical
> axes.
>
>
> Geeta.
>
> _______________________________________________
> 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/20160625/b64b3c24/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2a25_binning.ncl
Type: application/octet-stream
Size: 6170 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160625/b64b3c24/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2a25_binning.ncl
Type: application/octet-stream
Size: 6170 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160625/b64b3c24/attachment-0001.obj 


More information about the ncl-talk mailing list