working with 2 different files

Gisele Zepka gzepka at DGE.INPE.BR
Thu Sep 24 14:03:29 EDT 2009


Hello users

I want to plot the difference between two temperature fields from
different .ctl files (file 1: resolution = 20 km; longitude range = 277
to 334.2 degrees; latitude range = -50.2 to 12.2; file 2: resolution =
10 km; longitude range = -50.159 to -44.075 degrees; latitude range =
-25.031 to -20.783). My first problem is to set the longitude for the
file 1, which must be defined in terms of a difference from 360 degrees,
while the file 2 mantains its coordinates. When I set the longitude, how
can I specify which file I am altering it? In order to calculate the
temperature difference I extrapolate the resolution of the file 2 to 20
km using the regrid function. In this moment lots of errors appear. I am
trying to do something like that:

ga-> d tp2m.1 - regrid2(tmp2m.2,0.1962580,0.1962580,bl)

Please, any help will be good.
Thanks.
Gisele

--
Msc. Gisele dos Santos Zepka
Atmospheric Electricity Group (ELAT)
National Institute for Space Research (INPE)
Av. dos Astronautas, 1758
São José dos Campos/ SP/ Brazil
CEP 12245-970
Phone ++55(12)39456841



More information about the gradsusr mailing list