Project

General

Profile

RE: How to create a timeseries from multiple nc data file... ยป code2.sh

Mudit Mudit, 2021-03-18 07:19

 
#!/bin/bash
for year in 'seq -w 1961 2014' ; do
cdo -seltimestep,1/12 pr_Amon_BCC-CSM2-MR_dcppA-hindcast_s${year}.nc series${year}.nc
done
    (1-1/1)