[Thread Prev][Thread Next][Index]

Re: [ferret_users] problem in reading and regriding ASCII data file



Hi Yogesh -

When regridding, it is always a good idea to make a few test plots to be sure that the regridding operation is not doing (too much) damage to the data! A regridding is an interpolation or subsampling, and in some cases this can result in significant changes to the characteristics of the data. Consider what is intended when a dataset on a 1x1 grid is regridded to a 5x5 grid: should each resulting point be an average over 25 points? Or should it be a subsampling where the points coincide? This might make a very large difference!

Fortunately in Ferret it is easy to check this by plotting the original data overlaid by the regridded fields. Pick a few appropriate sections and make line plots so that the data characteristics can be seen, e.g.:

plot/x=90e/line/sym=27 original,new_regridded ! using line/sym allows careful visualizing of what is really going on

Then you can have confidence that the black box of regridding is in fact doing what you intend.

Billy K

On 17Jan 2007, at 3:04 PM, Ansley Manke wrote:

Once you have two datasets initialized in Ferret, you can regrid a variable from one dataset to the grid of another with a definition of a variable, including the regridding operation in the definition. If dataset 1 contains a data variable called AOD on a 1x1 grid and datasets 2 contains O3 data on a 5x5 grid, then you can define

   LET AOD5 = AOD[d=1,gxy=O3[d=2]]

This says, define the new variable AOD5 which is AOD from dataset 1, regridded to the x and y grid of O3 from dataset 2.



[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement