Re: ESMF_regrid*(...) is lon-lat only?

From: Robert Oehmke <robert.oehmke_at_nyahnyahspammersnyahnyah>
Date: Thu Jan 10 2013 - 13:49:23 MST

Hi Mary,

   I believe that you're on ESMF 5.2.0rp2. In that version all the input files for ESMF_RegridWeightGen are interpreted as being latxlon. In 5.3.0 there is some functionality for 3D Cartesian unstructured via the ESMF unstructured format. (The F90/Python library interfaces are more flexible with Cartesian as an option). I guess you could do something like convert the Cartesian to latxlon before putting it into the file, that might work.

- Bob

On Jan 10, 2013, at 1:01 PM, Mary Haley wrote:

> Hi Tom,
>
> I haven't actually tried regridding data that is not on a lat/lon grid using ESMF. I think it should work. Do you have some data files that you can provide us with?
>
> Are your source and destination grids rectilinear, curvilinear, or unstructured?
>
> You said you've already worked with the "conserve" method, but I didn't see any mention if that was working, or do you have problems with it?
>
> --Mary
>
> On Jan 8, 2013, at 1:43 PM, Tom Roche wrote:
>
>>
>> Does the currently-available NCL API for ESMF_regrid only support lon-lat? My impression was
>>
>> http://www.earthsystemmodeling.org/esmf_releases/non_public/last/regridding_status.html
>>> Options for coordinate systems
>>
>>> * Cartesian: Sometimes used for small regional grids. Coordinates
>>> expressed in terms of distance (e.g. x,y)
>>
>>> * Spherical: The standard spherical Earth representation. Coordinates
>>> expressed in angles. (e.g. longitude, latitude)
>>
>> so I've been working for awhile toward 3D-regridding (with InterpMethod=
>> "conserve") source data that is horizontally global/lon-lat/spherical
>> into a target format that must be regional (CONUS) and Cartesian (LCC),
>> which I have discussed on this list. But I notice
>>
>> http://www.ncl.ucar.edu/Document/Functions/ESMF.shtml
>>> ESMF_regrid
>>> Regrids data from one lat/lon grid to another, using ESMF software.
>>
>>> ESMF_regrid_gen_weights
>>> Writes a weight file using the offline ESMF weight generator.
>>
>>> ESMF_regrid_with_weights
>>> Using the provided weight file, regrids data from one lat/lon grid
>>> to another.
>>
>> http://www.ncl.ucar.edu/Document/Functions/ESMF/ESMF_regrid.shtml
>>> Regrids data from one lat/lon grid to another,
>>
>> and further text on that page seems to imply (please correct me if
>> wrong!) that the NCL implementation does *not* support ESMF_regrid
>> from a source Cartesian grid to a target/destination Cartesian grid.
>> Am I missing something?
>>
>> TIA, Tom Roche <Tom_Roche@pobox.com>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
Received on Thu Jan 10 13:49:31 2013

This archive was generated by hypermail 2.1.8 : Mon Jan 14 2013 - 14:31:38 MST