[Thread Prev][Thread Next][Index]

Re: the go land command



Hi Ansley,

Thanks, now it works fine.

Regards,
Yogesh


 Manke wrote:
Hi Yogesh,
It looks as if your variable CO2_T is on a grid with abstract axes,
where the axis coordinates are simple lists of numbers 1, 2, 3, ...
The LON and LAT variables have the coordinates in units of degrees
longitude and latitude. Is that correct? If so, you can create longitude
and latitude axes from variables LON and LAT and put your variable onto
them. Use the @ASN regridding transformation to associate the first X
coordinate of co2_t with the first longitude, and so on. With the plot in
units of longitude and latitude, the land script should work. Here are
commands you can use:

yes? define axis/x/units=degrees/modulo xlon= lon
yes? define axis/y/units=degrees ylat = lat
yes? let co2_t_new = co2_t[gx=xlon@asn, gy=ylat@asn]

yes? shade/nolab co2_t_new
yes? go land

You can transfer any units or title information from the old
variable to the new variable with the RETURN keyword and let/title= /units= For example, the definition of co2_t_new could be

yes? let/title="`co2_t,return=title`"/units="`co2_t,return=units`" co2_t_new = co2_t[gx=xlon@asn, gy=ylat@asn]

Yogesh K. Tiwari wrote:

Hello,

I have the data like :

name     title               I         J         K         L
 LON      Longitude         1:360     ...       ...       ...
 LAT      Latitude          1:180     ...       ...       ...
 CO2_T    Mean co2          1:360     1:180     ...       ...

When I use the command :-

shade/nolab co2_t

it gives the attached plot.

But the plot X and Y-axis values are 0-360 and 0-180, so
the 'go land' command not working.

How to put the 'lon' and 'lat' grid values on co2_t grid,
so the go land command should work.

Many thanks for help.

Regards,
Yogesh


------------------------------------------------------------------------



--

===========================================
Yogesh K. Tiwari,
Max-Planck Institute for Biogeochemistry,
Postfach 10 01 64, D-07701 Jena,
Germany

Office   : +49 3641 576376
Fax      : +49 3641 577300
Handy    : +49 1736988789
e-mail   : yogesh.tiwari@bgc-jena.mpg.de
===========================================




[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement