# === configuration file for GSMGET.EXE ===
#
# - this text is free-format
# - comments begin with hash (#) to the end of line
# - instruction ends with either "Download", "Select" or "Run"
#   repsesenting REVERSE order of URL structure.
# - options begin with colon (:)
# - parameters begin with plus (+) or minus (-)

# Download: each file
#   option :showdir pops up Windows Explorer
#
:showdir Download

# Select Level 5:
#
:outname Select

# Select level 4:
# - option :confirm shows prompt to proceed
#
+000000 +120000 :last :confirm :outname Select

# Select Level 3:
# - when option :outname is specified, subdirectories are created and
#   downloaded files are stored in it.
# - option :last selects only the last subdirectory by
#   the dictionary order.
#
:last :outname Select

# Select Level 2:
# - you can write simply ":confirm Select"
#   if you'd like to select interactively
#
# :confirm Select
+Surface +Mean_Sea_Level +1000hPa +500hPa Select
#+Surface Select

# Select Level 1:
# - subdirectories listed with plus parameter are searched
#
# (southern and northern hemispheres in this case)
+0.0_-90.0_0.0_357.5 +90.0_0.0_0.0_357.5 Select

# "Run" must come at the end
# - plus parameter specifies URL to start (needed)
# - minus parameter specifies folder to save downloaded files
#   [bug: directory separator has to be slash (/) ]
#
+http://www.wis-jma.go.jp/d/o/RJTD/GRIB/Global_Spectral_Model/Latitude_Longitude/2.5_2.5/ Run
# === if you'd like to save output in C:\Windows\Temp folder ===
#+http://www.wis-jma.go.jp/d/o/RJTD/GRIB/Global_Spectral_Model/Latitude_Longitude/2.5_2.5/ -C:/Windows/Temp Run
