Difference between revisions of "Regridding with GAMAP"

From Geos-chem
Jump to: navigation, search
Line 10: Line 10:
 
== Regridding T42 to GEOS-Chem grids ==
 
== Regridding T42 to GEOS-Chem grids ==
  
'''''Ben Miller (bmiller@fas.harvard.edu) wrote:'''''
+
'''''[mailto:bmiller@fas.harvard.edu Ben Miller] wrote:'''''
  
 
:Justin and I have been working on translating some emission fluxes and deposition velocity data from TOMCAT's T42 grid (128x64, with some variance in latitude step-size) into Geos 4x5 gridboxes. Do you know of any existing routines in IDL or some other language that we could adapt to make the two grids talk to each other?
 
:Justin and I have been working on translating some emission fluxes and deposition velocity data from TOMCAT's T42 grid (128x64, with some variance in latitude step-size) into Geos 4x5 gridboxes. Do you know of any existing routines in IDL or some other language that we could adapt to make the two grids talk to each other?
  
'''''Philippe Le Sager (plesager@seas.harvard.edu) replied:'''''
+
'''''Philippe Le Sager replied:'''''
  
 
:There is nothing in IDL to deal with any kind of grid. However (you may have already found it) the [http://retro.enes.org/data_tools_emission-tools.shtml RETRO tools (M. Schultz)] can regrid data from the T42 to regular grids.  It deals with NetCDF files apparently, but ascii/nc conversion is not a problem.
 
:There is nothing in IDL to deal with any kind of grid. However (you may have already found it) the [http://retro.enes.org/data_tools_emission-tools.shtml RETRO tools (M. Schultz)] can regrid data from the T42 to regular grids.  It deals with NetCDF files apparently, but ascii/nc conversion is not a problem.
Line 24: Line 24:
 
== Regridding from a Lambert conformal grid to a lat-lon grid ==
 
== Regridding from a Lambert conformal grid to a lat-lon grid ==
  
'''''Rynda Hudman (hudman@berkeley.edu) wrote:'''''
+
'''''[mailto:hudman@berkeley.edu Rynda Hudman] wrote:'''''
  
 
:I am trying to plot some North American Regional Reanalysis (NARR) data and compare it to the GEOS precipitation fields. NARR is on a Lambert Conformal grid, so it is irregular and each lat and lon have 2-dimensional arrays defining their 4 corners.
 
:I am trying to plot some North American Regional Reanalysis (NARR) data and compare it to the GEOS precipitation fields. NARR is on a Lambert Conformal grid, so it is irregular and each lat and lon have 2-dimensional arrays defining their 4 corners.
Line 30: Line 30:
 
:I would like to interpolate/regrid this onto a uniform grid for comparison with GEOS. Could you guys offer some suggestions?
 
:I would like to interpolate/regrid this onto a uniform grid for comparison with GEOS. Could you guys offer some suggestions?
  
'''''Philippe Le Sager (plesager@seas.harvard.edu) wrote:'''''
+
'''''[mailto:plesager@seas.harvard.edu Philippe Le Sager] wrote:'''''
  
 
:You need to look at the "gridding and interpolation" chapter of the IDL guide/help.  You can directly go to the <tt>MIN_CURVE_SURF</tt> function though.  This is the one I have mostly used.  Works like a wonder.
 
:You need to look at the "gridding and interpolation" chapter of the IDL guide/help.  You can directly go to the <tt>MIN_CURVE_SURF</tt> function though.  This is the one I have mostly used.  Works like a wonder.
  
 
--[[User:Bmy|Bob Y.]] 10:32, 6 November 2008 (EST)
 
--[[User:Bmy|Bob Y.]] 10:32, 6 November 2008 (EST)

Revision as of 21:37, 3 March 2010

On this page we list some tips and tricks for regridding data with GAMAP. Please also see the following pages:

--Bob Y. 16:08, 26 November 2008 (EST)

Regridding T42 to GEOS-Chem grids

Ben Miller wrote:

Justin and I have been working on translating some emission fluxes and deposition velocity data from TOMCAT's T42 grid (128x64, with some variance in latitude step-size) into Geos 4x5 gridboxes. Do you know of any existing routines in IDL or some other language that we could adapt to make the two grids talk to each other?

Philippe Le Sager replied:

There is nothing in IDL to deal with any kind of grid. However (you may have already found it) the RETRO tools (M. Schultz) can regrid data from the T42 to regular grids. It deals with NetCDF files apparently, but ascii/nc conversion is not a problem.
Have a look at the example in the regrid routine of the following package: MGS_Regrid (V2).

--Bob Y. 09:27, 8 August 2008 (EDT)

Regridding from a Lambert conformal grid to a lat-lon grid

Rynda Hudman wrote:

I am trying to plot some North American Regional Reanalysis (NARR) data and compare it to the GEOS precipitation fields. NARR is on a Lambert Conformal grid, so it is irregular and each lat and lon have 2-dimensional arrays defining their 4 corners.
I would like to interpolate/regrid this onto a uniform grid for comparison with GEOS. Could you guys offer some suggestions?

Philippe Le Sager wrote:

You need to look at the "gridding and interpolation" chapter of the IDL guide/help. You can directly go to the MIN_CURVE_SURF function though. This is the one I have mostly used. Works like a wonder.

--Bob Y. 10:32, 6 November 2008 (EST)