-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtd-wx-download.xml
188 lines (173 loc) · 14.4 KB
/
td-wx-download.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="Weather Data Download Form">
<OAuth>
<Service name="google">
<Access url="https://www.google.com/accounts/OAuthGetAccessToken" method="GET" />
<Request url="https://www.google.com/accounts/OAuthGetRequestToken?scope=https://spreadsheets.google.com/feeds/" method="GET" />
<Authorization url="https://www.google.com/accounts/OAuthAuthorizeToken" />
</Service>
</OAuth>
</ModulePrefs>
<Content type="html"><![CDATA[
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css">
<script src="https://www.google.com/jsapi?key=ABQIAAAArXt77YptylBNPFEy0AgJxBQV4szfgV8zGZZkur1B-B3W8b5AThTSlomZliOt8JQHJGH1m63sgDu1rg" type="text/javascript"></script>
<!-- Initially displayed and then hidden once we are running -->
<div id="loading" style="display: none;">
<p><strong>Weather Data form is loading...</strong>
</div>
<!-- Displayed if this gadget needs oauth2 approval -->
<div id="approval" style="display: none">
<a id="personalize"
onclick="javascript:showOneSection('waiting'); return true"
target="approve">Click to authorize this gadget</a>
</div>
<!-- Displayed once the approval process begins... -->
<div id="waiting" style="display: none">
Please click
<a href="#" onclick="javascript:bootstrap()">I've approved access</a>
once you've approved access to your data.
</div>
<!-- Our main 'window' -->
<div id="main" style="display: block">
<form method="GET" action="https://mesonet.agron.iastate.edu/cgi-bin/request/coop.py">
<input type="hidden" name="network" value="IACLIMATE" id="network" />
<p><strong>Select Research Site(s):</strong>
<br /><select id="station" name="station[]" size="5" multiple>
<option value="IN9430">ACRE - Agronomy Center for Research and Education (ACRE) [Bowling]</option>
<option value="OH3915">AUGLA - Auglaize-E [Fausey]</option>
<option value="NC0674">BATH_A - Poole Farm Research and Demonstration Site [Youssef]</option>
<option value="NC0674">BATH_R - Poole Farm Research and Demonstration Site [Youssef]</option>
<option value="IA0200">BEAR - Private Farm at Bear Creek [Jaynes]</option>
<option value="IA0200">BEAR2 - Private Farm at Bear Creek [Jaynes]</option>
<option value="IA8568">BENTON - Private Farm at Rock Creek [Jaynes]</option>
<option value="MN0018">CLAY_C - Clay [Jia]</option>
<option value="MN0018">CLAY_R - Clay [Jia]</option>
<option value="MN0018">CLAY_U - Clay [Jia]</option>
<option value="OH1072">CRAWF - Crawford [Fausey]</option>
<option value="OH2098">DEFI_M - Defiance [Fausey]</option>
<option value="OH2098">DEFI_R - Wetland Reservoir Subirrigation Systems (WRSIS) Demonst [Allred]</option>
<option value="IA3487">DIKE - Roadman Farm [Jaynes]</option>
<option value="IN2825">DPAC - Davis Purdue Agricultural Center (DPAC) - West [Kladivko]</option>
<option value="ND5754">FAIRM - Fairmount [Jia]</option>
<option value="OH8822">FULTON - Wetland Reservoir Subirrigation Systems (WRSIS) Demonst [Allred]</option>
<option value="OH4189">HARDIN - Hardin-N [Fausey]</option>
<option value="OH4189">HARDIN_NW - Hardin-NW [Fausey]</option>
<option value="OH3874">HENRY - Henry [Fausey]</option>
<option value="IAC005">HICKORY - Private Farm at Hickory Grove [Jaynes]</option>
<option value="MN8323">HICKS_B - Hicks Farm [Strock]</option>
<option value="MN8323">HICKS_P - Hicks Farm [Strock]</option>
<option value="MN8323">HICKS_S - Hicks Farm [Strock]</option>
<option value="IA8806">MAASS - Private Farm at Hamilton County [Jaynes]</option>
<option value="MO8051">MUDS1 - Greenley Memorial Research Center - The Ross Jones Farm [Nelson]</option>
<option value="MO2482">MUDS2 - Greenley Memorial Research Center [Nelson]</option>
<option value="MO2482">MUDS3_NEW - Greenley Memorial Research Center [Nelson]</option>
<option value="MO2482">MUDS3_OLD - Greenley Memorial Research Center [Nelson]</option>
<option value="MO2482">MUDS4 - Private Farm at Bee Ridge Township [Nelson]</option>
<option value="IA8688">SERF_IA - Southeast Research and Demonstration Farm (SERF) [Helmers]</option>
<option value="SD1579">SERF_SD - SDSU Southeast Research Farm [Ahiablame]</option>
<option value="IA0200">SHEARER - Shearer [Jaynes]</option>
<option value="OH4551">STJOHNS - St.Johns [Fausey]</option>
<option value="IA0200">STORY - Private Farm at Story City [Jaynes]</option>
<option value="MN8520">SWROC - Southwest Research and Outreach Center (SWROC) [Strock]</option>
<option value="NC6853">TIDE - Tidewater Research Station [Youssef]</option>
<option value="OH1404">UBWC - Upper Big Walnut Creek [King]</option>
<option value="OH8609">VANWERT - Wetland Reservoir Subirrigation Systems (WRSIS) Demonst [Allred]</option>
<option value="MN6405">WILKIN[1,2,3] - Red River Valley Drainage Water Management [Kjaersgaard]</option>
</select>
<p><strong>Select Time Period:</strong>
<br />
<table><tr><th></th><th>Year</th><th>Month</th><th>Day</th></tr>
<tr><td>Start:</td>
<td><select id="year1" name="year1">
<option value='1951' >1951</option><option value='1952' >1952</option><option value='1953' >1953</option><option value='1954' >1954</option><option value='1955' >1955</option><option value='1956' >1956</option><option value='1957' >1957</option><option value='1958' >1958</option><option value='1959' >1959</option><option value='1960' >1960</option>
<option value='1961' >1961</option><option value='1962' >1962</option><option value='1963' >1963</option><option value='1964' >1964</option><option value='1965' >1965</option><option value='1966' >1966</option><option value='1967' >1967</option><option value='1968' >1968</option><option value='1969' >1969</option><option value='1970' >1970</option>
<option value='1971' >1971</option><option value='1972' >1972</option><option value='1973' >1973</option><option value='1974' >1974</option><option value='1975' >1975</option><option value='1976' >1976</option><option value='1977' >1977</option><option value='1978' >1978</option><option value='1979' >1979</option><option value='1980' >1980</option>
<option value='1981' >1981</option><option value='1982' >1982</option><option value='1983' >1983</option><option value='1984' >1984</option><option value='1985' >1985</option><option value='1986' >1986</option><option value='1987' >1987</option><option value='1988' >1988</option><option value='1989' >1989</option><option value='1990' >1990</option>
<option value='1991' >1991</option><option value='1992' >1992</option><option value='1993' >1993</option><option value='1994' >1994</option><option value='1995' >1995</option><option value='1996' >1996</option><option value='1997' >1997</option><option value='1998' >1998</option><option value='1999' >1999</option><option value='2000' >2000</option>
<option value='2001' >2001</option><option value='2002' >2002</option><option value='2003' >2003</option><option value='2004' >2004</option><option value='2005' >2005</option><option value='2006' >2006</option><option value='2007' >2007</option><option value='2008' >2008</option><option value='2009' >2009</option><option value='2010' >2010</option>
<option value='2011' >2011</option><option value='2012' >2012</option><option value='2013' >2013</option><option value='2014' >2014</option><option value='2015'>2015</option><option value='2016'>2016</option>
<option value='2017'>2017</option>
</select></td>
<td><select id="month1" name="month1">
<option value='1' SELECTED>January</option>
<option value='2' >February</option>
<option value='3' >March</option>
<option value='4' >April</option>
<option value='5' >May</option>
<option value='6' >June</option>
<option value='7' >July</option>
<option value='8' >August</option>
<option value='9' >September</option>
<option value='10' >October</option>
<option value='11' >November</option>
<option value='12' >December</option
</select></td>
<td><select id="day1" name="day1">
<option value="1" SELECTED>1</option><option value="2" >2</option><option value="3" >3</option><option value="4" >4</option><option value="5" >5</option><option value="6" >6</option><option value="7" >7</option><option value="8" >8</option><option value="9" >9</option><option value="10" >10</option><option value="11" >11</option><option value="12" >12</option><option value="13" >13</option><option value="14" >14</option><option value="15" >15</option><option value="16" >16</option><option value="17" >17</option><option value="18" >18</option><option value="19" >19</option><option value="20" >20</option><option value="21" >21</option><option value="22" >22</option><option value="23" >23</option><option value="24" >24</option><option value="25" >25</option><option value="26" >26</option><option value="27" >27</option><option value="28" >28</option><option value="29" >29</option><option value="30" >30</option><option value="31" >31</option>
</select></td>
</tr>
<tr><td>End:</td>
<td><select id="year2" name="year2">
<option value='1951' >1951</option><option value='1952' >1952</option><option value='1953' >1953</option><option value='1954' >1954</option><option value='1955' >1955</option><option value='1956' >1956</option><option value='1957' >1957</option><option value='1958' >1958</option><option value='1959' >1959</option><option value='1960' >1960</option><option value='1961' >1961</option><option value='1962' >1962</option><option value='1963' >1963</option><option value='1964' >1964</option><option value='1965' >1965</option><option value='1966' >1966</option><option value='1967' >1967</option><option value='1968' >1968</option><option value='1969' >1969</option><option value='1970' >1970</option><option value='1971' >1971</option><option value='1972' >1972</option><option value='1973' >1973</option><option value='1974' >1974</option><option value='1975' >1975</option><option value='1976' >1976</option><option value='1977' >1977</option><option value='1978' >1978</option><option value='1979' >1979</option><option value='1980' >1980</option><option value='1981' >1981</option><option value='1982' >1982</option><option value='1983' >1983</option><option value='1984' >1984</option><option value='1985' >1985</option><option value='1986' >1986</option><option value='1987' >1987</option><option value='1988' >1988</option><option value='1989' >1989</option><option value='1990' >1990</option><option value='1991' >1991</option><option value='1992' >1992</option><option value='1993' >1993</option><option value='1994' >1994</option><option value='1995' >1995</option><option value='1996' >1996</option><option value='1997' >1997</option><option value='1998' >1998</option><option value='1999' >1999</option><option value='2000' >2000</option><option value='2001' >2001</option><option value='2002' >2002</option><option value='2003' >2003</option><option value='2004' >2004</option><option value='2005' >2005</option><option value='2006' >2006</option><option value='2007' >2007</option><option value='2008' >2008</option><option value='2009' >2009</option><option value='2010' >2010</option><option value='2011' >2011</option><option value='2012'>2012</option><option value='2013' >2013</option><option value='2014'>2014</option>
<option value='2015'>2015</option>
<option value='2016'>2016</option>
<option value='2017'>2017</option>
<option value='2018' selected>2018</option>
</select></td>
<td><select id="month2" name="month2">
<option value='1' SELECTED>January</option>
<option value='2' >February</option>
<option value='3' >March</option>
<option value='4' >April</option>
<option value='5' >May</option>
<option value='6' >June</option>
<option value='7' >July</option>
<option value='8' >August</option>
<option value='9' >September</option>
<option value='10' >October</option>
<option value='11' >November</option>
<option value='12' >December</option
</select></td>
<td><select id="day2" name="day2">
<option value="1" SELECTED>1</option><option value="2" >2</option><option value="3" >3</option><option value="4" >4</option><option value="5" >5</option><option value="6" >6</option><option value="7" >7</option><option value="8" >8</option><option value="9" >9</option><option value="10" >10</option><option value="11" >11</option><option value="12" >12</option><option value="13" >13</option><option value="14" >14</option><option value="15" >15</option><option value="16" >16</option><option value="17" >17</option><option value="18" >18</option><option value="19" >19</option><option value="20" >20</option><option value="21" >21</option><option value="22" >22</option><option value="23" >23</option><option value="24" >24</option><option value="25" >25</option><option value="26" >26</option><option value="27" >27</option><option value="28" >28</option><option value="29" >29</option><option value="30" >30</option><option value="31" >31</option>
</select></td>
</tr>
</table>
<p><strong>Select Data Variables</strong>:
<br /><i>Date and Julian Day are included automatically</i>
<br /><select size=5 name="vars[]" MULTIPLE>
<option value="apsim">Model: APSIM MET File</option>
<option value="daycent">Model: DailyDayCent (no extra drivers)</option>
<option value="dndc">Model: DNDC</option>
<option value="century">Model: Century</option>
<option value="salus">Model: SALUS (using MERRA Solar Estimates)</option>
<option value="gdd_50_86">Computed: Growing Degree Days (base=50,max=86) [F]</option>
<option value="gdd_40_86">Computed: Growing Degree Days (base=40,max=86) [F]</option>
<option value="high">Variable: High Air Temperature [F]</option>
<option value="highc">Variable: High Air Temperature [C]</option>
<option value="low">Variable: Low Air Temperature [F]</option>
<option value="lowc">Variable: Low Air Temperature [C]</option>
<option value="precip">Variable: Precipitation (rain+melted snow) [inch]</option>
<option value="precipmm">Variable: Precipitation (rain+melted snow) [mm]</option>
<option value="merra_srad">Variable: Solar Radiation from MERRA (shortwave down at ground) [MJ m-2 dy-1]</option>
</select>
<input type="hidden" name="what" value="download" />
<p><strong>Data Delimitation:</strong>
<br />How shall the output values be separated?
<br><select name="delim">
<option value="comma">Comma
<option value="space">Space
<option value="tab">Tab
</select>
<p><input type="submit" value="Request Data" />
</form>
</div><!-- End of main -->
<script type="text/javascript">
var sskey = '1oZ2NEmoa0XHSGTWKaBLt0DJK1kIbpWO6iSZ0I2OE2gA';
function setSite(site){
document.getElementById("network").value = site.substring(0,2) + "CLIMATE";
} /* End of setSite() */
</script>
]]></Content>
</Module>