Skip to content

Instantly share code, notes, and snippets.

@everdaniel
Created September 19, 2018 20:41
Show Gist options
  • Save everdaniel/933a1ab93927f5c9dc2338d07b782de0 to your computer and use it in GitHub Desktop.
Save everdaniel/933a1ab93927f5c9dc2338d07b782de0 to your computer and use it in GitHub Desktop.
#!/bin/csh -f
# m3fake script to create a dummy ocean file
setenv GRIDDESC /root/CMAQ-5.2.1/data/CMAQ-ASU1K/cctm_input/GRIDDESC
setenv GRID_NAME CMAQ-ASU1K
setenv OUTFILE /root/ocean_file.dummy.$GRID_NAME.ncf
/root/ioapi-3.2/Linux2_x86_64/m3fake << EOF
2
$GRID_NAME
29
4
2015152
0
504
2
OPEN
1
4
SURF
1
4
$OUTFILE
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment