[Thread Prev][Thread Next][Index]

Re: [ferret_users] regriding problem



Hi Yogesh,
If I understand correctly, the model data is on the curvilinear grid defined by the second dataset you open in your example . Is that correct? To work with data on a curvilinear grid you can either regrid it to a rectilinear grid using the CURV_TO_RECT_MAP and CURV_TO_RECT functions; or to find the index ranges corresponding to longitude/latitude regions, use the methods in this FAQ. How can I plot a subset of my curvilinear data?
at http://ferret.pmel.noaa.gov/FERRET_17sep07/FAQ/custom_plots/subsetting_curvi_data.html

Looking back, the curvilinear regridding functions became available in Ferret v5.8, so you will have these; however there have been some more recent improvements such as the /MODULO qualifier on the SHADE and FILL commands so you might do well to upgrade to a more recent version of Ferret.

Ansley
 
Yogesh Tiwari wrote:
Hello Ferret Users,
I am using Ferret 5.81 on RedHat Linux

I am trying to get output data from a model where the results are in an irregular grid.
After following the method explained below, when I try to get the dataset for my region of
interest (40E:110E/0-30N) ferret keeps looking for data in the irregular grid. I want to
plot the time series, climatology etc for the dataset in the regular grid

use "http://dods.extra.cea.fr/cgi-bin/nph-
dods/data/p48bopp/CARBOOCEAN/IPSL/HIST_A2/fgCO2/IPSL_HIST_A2_fgCO2_1980_2009_2D.nc"
show data
fill fgCO2[x=1:182,y=1:149,l=1]
use "http://dods.extra.cea.fr/cgi-bin/nph-dods/data/p48bopp/CARBOOCEAN/GRID/IPSL_grid.nc"
let lon2 = if lon gt 360 then (lon-360.) else lon
shade/key/hlim=40E:100E/vlim=0:30N fgco2[x=1:182,y=1:149,l=1,d=1],lon2[d=2],lat[d=2]

So after this how do I
1. list the basin averaged values for certain time period of the data in the regular grid?
2. get time-series/climatology for particular region and time period of the data in the
regular grid?

Thanks for the help,
Yogesh


[Thread Prev][Thread Next][Index]

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

Privacy Policy | Disclaimer | Accessibility Statement