API Reference
Patched Point data
API request returns a single point dataset at a station location.
Attributes
The attributes for a point data request vary depending on the format and data type requested.
Routes
Get point data
HTTP method |
GET |
URI |
/PatchedPointDataset.php |
Parameters |
|
NOTE: you will need to replace <email_address> with your email address in all the example requests below.
Example request - data for January 2016, station 40004, maximum and minimum temperature in JSON format |
https://www.longpaddock.qld.gov.au/cgi-bin/silo/PatchedPointDataset.php?station=40004&start=20160101&finish=20160131&format=json&comment=XN&username=<email_address> |
Example request - data for January 2016, station 40004, in APSIM format |
https://www.longpaddock.qld.gov.au/cgi-bin/silo/PatchedPointDataset.php?station=40004&start=20160101&finish=20160131&format=apsim&username=<email_address> |
The response for a point data request will vary depending on the format requested. Please see the file formats and samples page for a sample of each format.
Data Drill data
API request returns a single point dataset at a grid cell location.
Attributes
The attributes for a point data request vary depending on the format and data type requested.
Routes
Get point data
HTTP method |
GET |
URI |
/DataDrillDataset.php |
Parameters |
|
NOTE: you will need to replace <email_address> with your email address in all the example requests below.
Example request - data for January 2016, latitude -27.5 and longitude 135.0, maximum and minimum temperature data in CSV format |
https://www.longpaddock.qld.gov.au/cgi-bin/silo/DataDrillDataset.php?lat=-27.50&lon=135.00&start=20160101&finish=20160131&format=csv&comment=XN&username=<email_address>&password=apirequest |
The response for a point data request will vary depending on the format requested. Please see the file formats and samples page for a sample of each format.
Stations
API request returns information about the observing stations for which point datasets are available.
Attributes
Attribute |
Type |
Description |
number |
int |
The Bureau of Meteorology station number. |
name |
string |
The name of the station. |
latitude |
float |
The latitude of the station in GDA94. |
longitude |
float |
The longitude of the station in GDA94. |
elevation |
int |
The elevation of the station, measured as meters above sea level. |
state |
string |
The state in which the station is located. |
Routes
Get details of single stations
HTTP method |
GET |
URI |
/PatchedPointDataset.php?format=ID |
Parameters |
|
Example request – metadata for station 30068 |
https://www.longpaddock.qld.gov.au/cgi-bin/silo/PatchedPointDataset.php?format=id&station=30068 |
Search for stations near a given station
HTTP method |
GET |
URI |
/PatchedPointDataset.php?format=near |
Parameters |
|
Example request – metadata for all stations within 100 km of station 30068, sorted alphabetically by station name |
https://www.longpaddock.qld.gov.au/cgi-bin/silo/PatchedPointDataset.php?format=near&station=30068&radius=100&sortby=name |
Search for stations by name
HTTP method |
GET |
URI |
/PatchedPointDataset.php?format=name |
Parameters |
|
Example request – metadata for all stations that have “br_sb_ne” in their name (the underscore matches zero or more characters) |
https://www.longpaddock.qld.gov.au/cgi-bin/silo/PatchedPointDataset.php?format=name&nameFrag=br_sb_ne |