Tom,
I am not sure if this will help, but here is the section on creating a
grid. You should be able to generate a 3D grid of uniform elements over
which you can regrid (rebox) from one 3D grid to another. I think
reboxing is the same as regridding if the grid in question is 3D. Is
that right?
http://www.earthsystemmodeling.org/esmf_releases/last_built/ESMC_crefdoc/node5.html#SECTION05050000000000000000
See the Tech-X website for a uv-cdat python example.
https://ice.txcorp.com/trac/modave/wiki/Regrid3D
--Dave
Dave Kindig
Research Assistant - TechX Corp (www.txcorp.com)
303-444-2386
On Wed 14 Nov 2012 10:31:06 AM MST, Tom Roche wrote:
Dave Kindig Wed, 14 Nov 2012 08:58:25 -0700
Have you looked into ESMF?
http://www.earthsystemmodeling.org/
[It] has a python module in addition to the fortran and c interfaces.
You can also access it through uv-cdat (http://uvcdat.llnl.gov/)
Tom Roche Wed, 14 Nov 2012 12:17:07 -0500
ESMF looks impressive, esp for (2D) regridding to/from non-rectangular
grids. However I'm not seeing anything to indicate that ESMF does 3D:
am I missing something?
Just to clarify: I need to "rebox" voxels. ESMF seems to do a 3D
interpolation in order to "regrid" pixels, which it defines
(rather well) as
http://www.earthsystemmodeling.org/esmf_releases/public/ESMF_5_2_0rp1/ESMF_refdoc/node3.html#SECTION03020000000000000000
Regridding, also called remapping or interpolation, is the process of
changing the grid that underlies data values while preserving
qualities of the original data.
...
The regridding occurs in 3D to avoid problems with periodicity and
with the pole singularity.
But ESMF only seems to work with data that's attributed to a 2D grid,
rather than data attributed to a 3D grid ... unless I'm missing
something.
your assistance is appreciated, Tom Roche <Tom_Roche@xxxxxxxxx>
_______________________________________________
netcdfgroup mailing list
netcdfgroup@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/