Commit 19aff14f authored by Willi Rath's avatar Willi Rath

Merge branch 'update-erain-timeaxis' into 'master'

Let CDO create a relative time axis

See merge request !9
parents b2351c90 2920fb6e
......@@ -4,7 +4,8 @@ function convert_grb_to_netcdf {
grb_file=$1
nc_file="$(echo ${grb_file} | rev | cut -d. -f2- | rev)".nc
tmp_nc_file=${nc_file}_tmp
cdo -t ecmwf -f nc -copy ${grb_file} ${tmp_nc_file}
cdo -r -t ecmwf -f nc -copy ${grb_file} ${tmp_nc_file}
rm -f ${nc_file}
nccopy -7 -d1 -s ${tmp_nc_file} ${nc_file}
rm -f ${tmp_nc_file}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment