Last change
on this file since 4163 was
4159,
checked in by jisesh, 5 years ago
|
guided: scripts to generate input data from CAMELOT datasets
|
-
Property svn:executable set to
*
|
File size:
893 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | echo "Enter the Year" |
---|
3 | read year |
---|
4 | echo "Processing Temperature, u and v wind for the year(s) $year" |
---|
5 | cdo mergetime /bdd/ERA40/NETCDF/4xdaily/AN_PL/${year}/t*.nc t${year}.nc |
---|
6 | |
---|
7 | cdo mergetime /bdd/ERA40/NETCDF/4xdaily/AN_PL/${year}/u*.nc u${year}.nc |
---|
8 | #------------handle double values--------------------------------------------- |
---|
9 | #cdo -b F64 mergetime /bdd/ERA40/NETCDF/4xdaily/AN_PL/${year}/u*.nc u${year}.nc |
---|
10 | #ncap2 -s 'u=double(u)' u${year}.nc ufloat${year}.nc |
---|
11 | |
---|
12 | cdo mergetime /bdd/ERA40/NETCDF/4xdaily/AN_PL/${year}/v*.nc v${year}.nc |
---|
13 | #cdo -b F64 mergetime /bdd/ERA40/NETCDF/4xdaily/AN_PL/${year}/v*.nc v${year}.nc |
---|
14 | #ncap2 -s 'v=double(v)' v${year}.nc vfloat${year}.nc |
---|
15 | |
---|
16 | cdo merge t${year}.nc u${year}.nc v${year}.nc ${year}.nc |
---|
17 | #cdo mergetime /bdd/ERA40/NETCDF/4xdaily/AN_PV/${year}/pres*.nc pres${year}.nc |
---|
18 | #cdo merge t${year}.nc ufloat${year}.nc vfloat${year}.nc pres${year}.nc ${year}.nc |
---|
Note: See
TracBrowser
for help on using the repository browser.