interpolation from one grid to another using lats4d

Jose Augusto Paixao Veiga jaugusto at CPTEC.INPE.BR
Wed Sep 20 15:14:44 EDT 2006


Hi dears,
I am trying to bring a coarser resolution to a finer one using lats4d
command. A piece of the script is put bellow. With it I created a binary
file, however what must I do to creat its ctl file, as well?

a piece of the script is:

 set var="u v t w"
#  set nivel="1000 975 950 925 900 850 800 750 700 650 600 550 500 450 400
350 300 250 200 150 100 70 50 30 20 10"
set nivel="1000 975"

cd $run

# generating binary data

 $lats4d -i ${input}/original.ctl -o $output/newfile -format "stream" -levs
${nivel} -vars ${var} -func "regrid2(@,0.5)"

### what must be the command to creat a ctl file to newfile.bin?


thanks in advance



More information about the gradsusr mailing list