# Example EstuaryDataMapper script file. # # 1. Copy this file to $HOME/edm_in.txt # On Windows: %HOMEPATH%\edm_in.txt # 2. In a Terminal/shell run EstuaryDataMapper -s # The -s option begins in scripting mode, else do the following: # 3. Click Zoom Maps tab (or type 1). # 4. Click Read Commands button (or type .). # # To interactively enter script commands while # EstuaryDataMapper is already running: # Select Zoom Maps tab or press 1. # Click Read Commands button (or press .). # Open a Terminal/shell window and run $HOME/EDM/utils/edmcom # On Windows: Launch Command Prompt and then %HOMEPATH%\EDM\utils\edmcom # Type one-line commands into the shell window where edmcom is running. # Enter . to stop scripting (or 4 then q to quit EstuaryDataMapper). 1 # Select Map tab. ! # Reset state to default. z r # Zoom to Rhode Island. o # Show Counties. t # Show Coastal Tributaries. e # Show Estuaries. a # Show Labels - i.e., Estuary names. + 10 # Zoom in 10 times. ^ 5 # Move view center north 5 times. > 5 # Move view center east 5 times. # Note: when interacting in the GUI use left/right/up/down arrow keys but in # scripts use keys: <,>,^,v instead (and only when Zoom Maps tab is selected). 2 # Select Data tab. y 2006 07 01 # Set start date. n C # Nitrogen CMAQ Grid no variable specified defaults to the first variable. v,C,Wave Ri # Vulnerability source = Coastal, variable = Wave Risk. r # Retrieve data. < < # Rewind to first timestep. ! # Start time animation. : 20 # Pause script for 20 seconds while animation continues. ! # Stop time animation. < 15 # Set timestep to timestep 15 (hour 14). 3 # Select Save Data tab. s # Save all data as shapefiles in $HOME/. . # Stop scripting.