Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/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