source: dynamico_lmdz/guided/Data/combine_datafiles.sh @ 4244

Last change on this file since 4244 was 4158, checked in by jisesh, 5 years ago

guided: script to generate input data from ERA datasets

  • Property svn:executable set to *
File size: 506 bytes
Line 
1#!/bin/bash
2echo "Enter the Year"
3read year
4echo "Processing Temperature, u and v wind in $year"
5
6cdo -b F64 mergetime /bdd/ERA40/NETCDF/4xdaily/AN_PL/${year}/t*.nc t${year}.nc
7cdo -b F64 mergetime /bdd/ERA40/NETCDF/4xdaily/AN_PL/${year}/u*.nc u${year}.nc
8cdo -b F64 mergetime /bdd/ERA40/NETCDF/4xdaily/AN_PL/${year}/v*.nc v${year}.nc
9cdo -b F64 mergetime /bdd/ERA40/NETCDF/4xdaily/AN_PV/${year}/pres*.nc pres${year}.nc
10
11
12cdo -b F64  mergetime t${year}.nc u${year}.nc v${year}.nc pres${year}.nc ${year}.nc
Note: See TracBrowser for help on using the repository browser.