Skip to content

Instantly share code, notes, and snippets.

@douglatornell
Created September 17, 2014 20:46
Show Gist options
  • Save douglatornell/2151f2ab1173e7985594 to your computer and use it in GitHub Desktop.
Save douglatornell/2151f2ab1173e7985594 to your computer and use it in GitHub Desktop.
Commands to concatenate hourly EC research 2.5km GEM files to create a 1-day forcing file for NEMO
ncrcat -4 -L4 2014091000_00?_2.5km_360x300.nc ../NEMO-atmos/y2014m09d10.nc
ncrcat -4 -L4 -A ../NEMO-atmos/y2014m09d10.nc 2014091000_01?_2.5km_360x300.nc ../NEMO-atmos/y2014m09d10.nc
ncrcat -4 -L4 -A ../NEMO-atmos/y2014m09d10.nc 2014091000_02?_2.5km_360x300.nc ../NEMO-atmos/y2014m09d10.nc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment