|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjecthydroScalingAPI.io.ImportUSGS_waterdataWeb
public class ImportUSGS_waterdataWeb
This class was developed to import daily streamflow time series from the USGS website. A Gauge-type site is created in the database. Currnently, only streamflow time series can be imported, Future implementations will include flow depth and other variables
| Constructor Summary | |
|---|---|
ImportUSGS_waterdataWeb(java.lang.String oDir)
Creates an instance of the ImportUSGS_waterdataWeb |
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] arguments)
Tests for the class |
void |
StreamFlow(java.lang.String state,
java.lang.String gaugeid,
char record_type)
This method imports streamflow data and creates a Gauge-type site file in the database |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImportUSGS_waterdataWeb(java.lang.String oDir)
oDir - The directory where the ouput file will be stored| Method Detail |
|---|
public void StreamFlow(java.lang.String state,
java.lang.String gaugeid,
char record_type)
state - The two letter code for the state (e.g. CO - Colorado, NM - New Mexico)gaugeid - The USGS gauge code (e.g. 09430500 for the Gila River at Gila gauge)record_type - "H": for historical and "R": for recent.public static void main(java.lang.String[] arguments)
arguments - Comand line arguments
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
CUENCAS was initially developed by Ricardo Mantilla at the University of Colorado under the supervision of Dr. Vijay K. Gupta. We wish to recognize the support from the National Science Fundation.