Reference: URL Parameters
When you configure provider sites to automatically download data from the Internet, you will need to provide specific information to reach the final URL. For example, if you want to download reference station data from a CORS site, you will need to specify the download parameters within the URL itself. The URL below contains a template for start time, duration, year, day of year and a four-character site name.
http://www.ngs.noaa.gov/cgi-cors/ufcors2.prl?newstart=%HH%&duration=%LL%&year=%YYYY%&yearday=%DDDDD%&siteselection=%CCCC%&epic="As Is"&datasheets=no&compr=pkzip
When configuring URLs, you will need to manually substitute the appropriate values for the masks to obtain the final URL, which initiates the download of files. The table below defines the address formats you should use for substitution.
Note: FTP addresses are case sensitive.
URL Parameters
Parameter |
Meaning |
%YYYY% %YY% %Y% |
Year ( 2001 ) Year ( 01 ) Year ( 1 ) |
%MMMMM% %MMMM% %MMM% %MM% %M% |
Month ( JA, FE, MR, ... DE ) Month ( January, February, ..., December ) Month ( Jan, Feb, ..., Dec ) Month ( 00, 01, ..., 12 ) Month ( 0, 1, ..., 12 ) |
%GGGG% |
GPS week ( 0000, 0001, ... 1147 ) |
%DDDDD% %DD% %D% |
Day of year ( 001, 002, ..., 366 ) Day of month ( 00, 01, ..., 31 ) Day of month ( 0, 1, ..., 31 ) |
%TTTT% %TTT% %T% |
Day of week ( Sunday, Monday, ..., Saturday ) Day of week ( Sun, Mon, ..., Sat ) Day of week ( 0, 1, ..., 6 ) |
%HH% %H% %HrAsLetter% %HrAsCapLetter% |
Hour ( 00, 01, ..., 23 ) Hour ( 0, 1, ..., 23 ) Hour ( a, b, ... x ) Hour ( A, B, ... X ) |
%LL% |
Duration ( 01, 02,..., 24 ) |
%RR% |
Sampling Rate ( 01, 05, 10, 15, 30, 60 ) |
%CCCC% |
Location Code (ark1, cms1, etc.) 4 character description |
%LAT% %LON% H - hemisphere D - Degrees M - Minutes S - Seconds |
Latitude of project center, HDDMMSS Longitude of project center, HDDDMMSS N or S for latitude, W or E for longitude
|
%R1% %R2% |
Radius, km Radius, miles |
Tip: When configuring a new URL, you should verify that the parameter substitutions are correct. Use the Explore protocol and enter /D at the end of the URL. This will display the resolved address in a message box without starting the download.