[ncl-talk] How to plot TRMM orbital data
Mary Haley
haley at ucar.edu
Wed Feb 17 08:50:32 MST 2016
Hi Laura,
Is there something unique about the TRMM high-res orbital data that would
prevent you from using the standard TRMM examples?
I'm not familiar with TRMM data, but I see from the "hdf4sds_1.ncl" example:
http://www.ncl.ucar.edu/Applications/HDF.shtml
that there were a few of things that had to be done before the data could
be plotted:
- The array was reordered to be scan x latitude x longitude, because it
originally comes in as scan x longitude x latitude:
prc = work(scan|:,latitude|:,longitude|:)
- Some metadata was attached (to make better titles on the plots)
- Lat/lon arrays were created from scratch and attached to "prc".
I'm not sure why this was done, because I would think the lat/lon
arrays would be provided on the file, but the script keeps referring
to a README section that I haven't looked at)
You then simply call gsn_csm_contour_map to plot "prc" over a map.
Note that "res at cnFillMode" is being set to "RasterFill". This is
*very* important for large datasets. The default "AreaFill"
(smoothed) contouring in NCL is too slow for large data.
If you still have problems, then can you point us to a data file that
we can download? Also, it would help to know what kind of plot you
need to create.
--Mary
On Tue, Feb 16, 2016 at 8:51 PM, Laura Fowler <laura at ucar.edu> wrote:
> Hi ncl users:
>
> I browsed through the examples that show how to plot TRMM data, but I
> did not find an example on how to plot high-resolution orbital data.
> Is there an example that I can used to plot 2B31 TRMM data?
>
> Thanks,
> Laura
>
>
> --
>
> !-------------------------------------------------------------------------------------------------------------
> Laura D. Fowler
> Mesoscale and Microscale Meteorology Division (MMM)
> National Center for Atmospheric Research
> P.O. Box 3000, Boulder CO 80307-3000
>
> e-mail: laura at ucar.edu
> phone: 303-497-1628
>
>
> !-------------------------------------------------------------------------------------------------------------
> _______________________________________________
> 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/20160217/3f1e85b0/attachment.html
More information about the ncl-talk
mailing list