Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new wrapper scripts + removed GEOGRID.TBL from repository as it
will be modified by the scripts
- Loading branch information
Showing
11 changed files
with
924 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/bash | ||
|
||
############################################################################## | ||
# | ||
# geogrid_wrapper.sh | ||
# | ||
# A simple wrapper script for geogrid.exe that attempts to fetch data from | ||
# a usgs server if it fails from a halt_on_missing error. This script relies | ||
# on a number of python scripts assumed to be in '../other/convert_to_geogrid'. | ||
# It needs python 2.5+ as well as two external python modules: | ||
# | ||
# twill (http://twill.idyll.org/) | ||
# gdal (http://www.gdal.org/) | ||
# | ||
# twill can simply be extracted into a directory inside your PYTHONPATH, but | ||
# gdal requires a number of C libraries. I recommend finding a binary | ||
# distribution from 'http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries' | ||
# rather than compiling your own. | ||
# | ||
# Author: Jonathan Beezley (jon.beezley.math@gmail.com) | ||
# Date: April 26, 2009 | ||
# | ||
############################################################################## | ||
|
||
pypath="../other/convert_to_geogrid" | ||
PYTHONPATH="${PYTHONPATH}:${pypath}" python ${pypath}/geogrid_wrapper.py ${@} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.