Re: NCL and swath data?

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Fri Jul 26 2013 - 14:18:20 MDT

You can plot any swath data directly by assigning
the 2D lat/lon arrays

(a) Example: hdf4sds_5.ncl

          res@sfXArray = lon2d
          res@sfYArray = lat2d

(b) x@lat2d = f->Latitude ; (:,:)
          x@lon2d = f->Longitude

Se also: hdf4eos_5.ncl,

Note: If the file is hdf-eos then you may have to access
       the data by appending .he2 or /hdfeos to get the lat/lon arrays

====
ESMF Regridding: Allows any resolution

http://www.ncl.ucar.edu/Applications/ESMF.shtml
ESMF_8.ncl
ESMF_regrid_15.ncl

On 7/26/13 12:53 PM, lsmith@ucar.edu wrote:
> Hi gang,
> I thought I'd see if some of you smart people have dealt with this
> issue. I have some lovely satellite data that comes in swaths.
> It is dimensioned along_track and cross_track and the
> latitude and longitude arrays are also dimensioned along_track and
> cross_track. How do I use fabulous NCL functions that assume data is
> dimensioned latitude and longitude and where both of these are 1-d arrays?
> Running bin_avg on it (after onedtond) works great...except I lose too
> much resolution. :(
> Suggestions?
> Thanks a bunch!
> -Lesley
> _______________________________________________
> 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 Fri Jul 26 14:18:27 2013

This archive was generated by hypermail 2.1.8 : Thu Aug 01 2013 - 15:55:03 MDT