[ncl-talk] ESMF regrid

Dennis Shea shea at ucar.edu
Tue Jun 21 14:28:27 MDT 2016


I have looked at the swath data. I am not sure why you want a 'global
grid'. Each swat only covers a limited region.

Attached are two scripts that uses NCL's binning procedures.

[1] regrid.binning.ncl creates an image (CERES_regrid_binning.png) of a
single swath.
[2] regrid.binning_all.ncl creates two images using *all* the images for
the current day
     (a) binned
     (b) use poisson_grid_fill to fill the missing values.


The example grid is 0.5 ... not the 0.05 you mentioned.

Good luck
D




On Mon, Jun 20, 2016 at 1:42 AM, Karin Meier-Fleischer <
meier-fleischer at dkrz.de> wrote:

> Hi Laura,
>
> you can take the examples to regrid unstructured data to a rectilinear
> grid like the examples ESMF_regrid_10.ncl, ESMF_regrid_14.ncl and
> ESMF_regrid_21.ncl.
>
> Bye,
> Karin
>
> Am 18.06.16 um 21:58 schrieb Laura Fowler:
> > Hello:
> >
> > What is the best example that is available from the page
> > http://www.ncl.ucar.edu/Applications/ESMF.shtml to regrid a satellite
> > orbit to a rectangular grid using ESMF_regrid? I tried to use
> > ESMF_regrid_8.ncl but unsuccessfully. Is it even possible to do this
> > using ESMF_regrid?
> >
> > I am trying to regrid some orbital data from the CERES satellite into
> > a rectangular 0.05 deg grid. I tried to include the options
> > SrcRegional, SrcGridMask, and SrcGridType, but this did not work very
> > well. I ran across somebody wanting to do the same with TRMM data but
> > there was not any attached script in his or her post.
> >
> > I am trying to regrid data that I plotted on yellowstone (on
> > yellowstone, see the pdf
> > plot_CERES_SSF_XTRK-MODIS_Edition4A_2014011000-2014011023.pdf in
> > /glade/p/work/laura/DATA/CERESdata/CERESorbits.2014-01-10_to_2014-01-14).
> > My tentative script is in the script regrid.ncl.
> >
> > As always, appreciate your help. Thank you,
> > Laura
> >
> >
>
> --
> Dipl. Geophys. Karin Meier-Fleischer
> Visualization, NCL
> Application Support
>
> Deutsches Klimarechenzentrum GmbH (DKRZ)
> Bundesstrasse 45a - D20146 Hamburg - Germany
>
> Phone:    +49 (0)40 460094 126
> Fax:      +49 (0)40 460094 270
> E-Mail:   meier-fleischer at dkrz.de
> URL:      www.dkrz.de
>
> Geschäftsführer: Prof. Dr. Thomas Ludwig
> Sitz der Gesellschaft: Hamburg
> Amtsgericht Hamburg HRB 39784
>
> _______________________________________________
> 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/20160621/df88795f/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CERES_regrid_binning.png
Type: image/png
Size: 311181 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160621/df88795f/attachment-0003.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: regrid.binning.ncl
Type: application/octet-stream
Size: 6206 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160621/df88795f/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CERES_regrid_binning_all.000001.png
Type: image/png
Size: 771168 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160621/df88795f/attachment-0004.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CERES_regrid_binning_all.000002.png
Type: image/png
Size: 708811 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160621/df88795f/attachment-0005.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: regrid.binning_all.ncl
Type: application/octet-stream
Size: 6872 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160621/df88795f/attachment-0003.obj 


More information about the ncl-talk mailing list