Skip to content

Instantly share code, notes, and snippets.

@everdaniel
Created September 19, 2018 20:41
Show Gist options
  • Select an option

  • Save everdaniel/933a1ab93927f5c9dc2338d07b782de0 to your computer and use it in GitHub Desktop.

Select an option

Save everdaniel/933a1ab93927f5c9dc2338d07b782de0 to your computer and use it in GitHub Desktop.

Revisions

  1. everdaniel created this gist Sep 19, 2018.
    61 changes: 61 additions & 0 deletions CMAQ_ASU_OCEAN.csh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,61 @@
    #!/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