Categories
Linux Mastering Development

bash script to apply ncrcat on multiple files based on cycle number

I have a simulation model where I can run a simulation in multiple parts, where for each part output is generated with an increasing cycle number. Output files may look like the following: a.000.nc b.000.nc c.000.nc a.001.nc b.001.nc c.001.nc a.002.nc b.002.nc c.002.nc To concatenate these files, I use nco, more specifically the record concatenator ncrcat. […]

Categories
Linux Mastering Development

bash script to apply ncrcat on multiple files based on cycle number

I have a simulation model where I can run a simulation in multiple parts, where for each part output is generated with an increasing cycle number. Output files may look like the following: a.000.nc b.000.nc c.000.nc a.001.nc b.001.nc c.001.nc a.002.nc b.002.nc c.002.nc To concatenate these files, I use nco, more specifically the record concatenator ncrcat. […]