Parameters used when setting up a query¶
query_stations¶
Name |
Type |
Description |
Comment |
---|---|---|---|
|
Integer |
Priority of the type of report |
Every type of report has an associated priority that controls which data are first returned when there is more than one in the same physical space. It can be changed by editing /etc/dballe/repinfo.csv |
|
Integer |
Maximum priority of reports queed |
|
|
Integer |
Minimum priority of reports queed |
|
|
String |
Type of report |
Alias for |
|
String |
Type of report |
Alias for |
|
Integer |
Station database ID |
internal DB-ALLe ID referring to an existing station, usable as a shortcut reference instead of specifying the full data |
|
Integer |
Station is mobile |
Set to 1 to query mobile station, such as a ship or a flight; to 0 to query only fixed stations, such as synop or metar |
|
String |
Station identifier |
|
|
Float |
Latitude |
Setting as integer requires the value * 10^5; equivalent to setting latmin and latmax |
|
Float |
Longitude |
Setting as integer requires the value * 10^5; equivalent to setting lonmin and lonmax |
|
Float |
Maximum latitude queried |
Setting as integer requires the value * 10^5 |
|
Float |
Minimum latitude queried |
Setting as integer requires the value * 10^5 |
|
Float |
Maximum longitude queried |
Setting as integer requires the value * 10^5 |
|
Float |
Minimum longitude queried |
Setting as integer requires the value * 10^5 |
|
String |
Station measures this variable |
When setting var, varlist is cleared |
|
String |
Station measures one of these variables |
Comma-separated list of variable codes to query; when setting varlist, var is cleared |
|
String |
Query behaviour modifier |
Comma-separated list of query modifiers. See Possible values for query modifiers. |
|
String |
Filter on station values |
Restricts the results to only those stations which have a pseudoana value that matches the filter. See ana_filter, data_filter, attr_filter. |
|
Integer |
Maximum number of results to return |
|
|
Integer |
WMO block number of the station |
|
|
Integer |
WMO station number of the station |
query_station_data, remove_station_data¶
Name |
Type |
Description |
Comment |
---|---|---|---|
|
Integer |
Priority of the type of report |
Every type of report has an associated priority that controls which data are first returned when there is more than one in the same physical space. It can be changed by editing /etc/dballe/repinfo.csv |
|
Integer |
Maximum priority of reports queed |
|
|
Integer |
Minimum priority of reports queed |
|
|
String |
Type of report |
Alias for |
|
String |
Type of report |
Alias for |
|
Integer |
Station database ID |
internal DB-ALLe ID referring to an existing station, usable as a shortcut reference instead of specifying the full data |
|
Integer |
Station is mobile |
Set to 1 to query mobile station, such as a ship or a flight; to 0 to query only fixed stations, such as synop or metar |
|
String |
Station identifier |
|
|
Float |
Latitude |
Setting as integer requires the value * 10^5; equivalent to setting latmin and latmax |
|
Float |
Longitude |
Setting as integer requires the value * 10^5; equivalent to setting lonmin and lonmax |
|
Float |
Maximum latitude queried |
Setting as integer requires the value * 10^5 |
|
Float |
Minimum latitude queried |
Setting as integer requires the value * 10^5 |
|
Float |
Maximum longitude queried |
Setting as integer requires the value * 10^5 |
|
Float |
Minimum longitude queried |
Setting as integer requires the value * 10^5 |
|
String |
Variable queried |
When setting var, varlist is cleared |
|
String |
List of variables to query |
Comma-separated list of variable codes to query; when setting varlist, var is cleared |
|
String |
Query behaviour modifier |
Comma-separated list of query modifiers. See Possible values for query modifiers. |
|
String |
Filter on station values |
Restricts the results to only those stations which have a pseudoana value that matches the filter. See ana_filter, data_filter, attr_filter. |
|
String |
Filter on data |
Restricts the results to only the variables of the given type, which have a value that matches the filter. See ana_filter, data_filter, attr_filter. |
|
String |
Filter on data attributes |
Restricts the results to only those data which have an attribute that matches the filter. See ana_filter, data_filter, attr_filter. |
|
Integer |
Maximum number of results to return |
|
|
Integer |
WMO block number of the station |
|
|
Integer |
WMO station number of the station |
query_data, remove_data, query_summary, query_messages¶
Name |
Type |
Description |
Comment |
---|---|---|---|
|
Integer |
Priority of the type of report |
Every type of report has an associated priority that controls which data are first returned when there is more than one in the same physical space. It can be changed by editing /etc/dballe/repinfo.csv |
|
Integer |
Maximum priority of reports queed |
|
|
Integer |
Minimum priority of reports queed |
|
|
String |
Type of report |
Alias for |
|
String |
Type of report |
Alias for |
|
Integer |
Station database ID |
internal DB-ALLe ID referring to an existing station, usable as a shortcut reference instead of specifying the full data |
|
Integer |
Station is mobile |
Set to 1 to query mobile station, such as a ship or a flight; to 0 to query only fixed stations, such as synop or metar |
|
String |
Station identifier |
|
|
Float |
Latitude |
Setting as integer requires the value * 10^5; equivalent to setting latmin and latmax |
|
Float |
Longitude |
Setting as integer requires the value * 10^5; equivalent to setting lonmin and lonmax |
|
Float |
Maximum latitude queried |
Setting as integer requires the value * 10^5 |
|
Float |
Minimum latitude queried |
Setting as integer requires the value * 10^5 |
|
Float |
Maximum longitude queried |
Setting as integer requires the value * 10^5 |
|
Float |
Minimum longitude queried |
Setting as integer requires the value * 10^5 |
|
Integer |
Year |
Equivalent to setting yearmin and yearmax |
|
Integer |
Month |
Equivalent to setting monthmin and monthmax |
|
Integer |
Day |
Equivalent to setting daymin and daymax |
|
Integer |
Hour |
Equivalent to setting hourmin and hourmax |
|
Integer |
Minutes |
Equivalent to setting minumin and minumax |
|
Integer |
Seconds |
Equivalent to setting secmin and secmax |
|
Integer |
Maximum year queried |
|
|
Integer |
Year or minimum year queried |
|
|
Integer |
Maximum month queried |
|
|
Integer |
Minimum month queried |
|
|
Integer |
Maximum day queried |
|
|
Integer |
Minimum day queried |
|
|
Integer |
Maximum hour queried |
|
|
Integer |
Minumum hour queried |
|
|
Integer |
Maxminum minutes queried |
|
|
Integer |
Minimum minutes queried |
|
|
Integer |
Maxminum seconds queried |
|
|
Integer |
Minimum seconds queried |
|
|
datetime |
Sets |
Only available in Python |
|
datetime |
Sets |
Only available in Python |
|
datetime |
Sets |
Only available in Python |
|
Sets |
Only available in Python |
|
|
Sets |
Only available in Python |
|
|
Integer |
Type of first level |
|
|
Integer |
Level layer L1 |
|
|
Integer |
Type of second level |
|
|
Integer |
Level layer L2 |
|
|
Integer |
P indicator for time range |
|
|
Integer |
Time range P1 |
|
|
Integer |
Time range P2 |
|
|
String |
Variable queried |
When setting var, varlist is cleared |
|
String |
List of variables to query |
Comma-separated list of variable codes to query; when setting varlist, var is cleared |
|
String |
Query behaviour modifier |
Comma-separated list of query modifiers. See Possible values for query modifiers. |
|
String |
Filter on station values |
Restricts the results to only those stations which have a pseudoana value that matches the filter. See ana_filter, data_filter, attr_filter. |
|
String |
Filter on data |
Restricts the results to only the variables of the given type, which have a value that matches the filter. See ana_filter, data_filter, attr_filter. |
|
String |
Filter on data attributes |
Restricts the results to only those data which have an attribute that matches the filter. See ana_filter, data_filter, attr_filter. |
|
Integer |
Maximum number of results to return |
|
|
Integer |
WMO block number of the station |
|
|
Integer |
WMO station number of the station |
Possible values for query modifiers¶
When setting query=…
to alter behaviour of a query, one can use a
comma-separated list of these values:
Name |
Description |
---|---|
|
When the same datum exists in multiple networks, return only the one with the highest priority. |
|
Optimize for when data attributes will be read on the query result. See issue114. |
|
Not used anymore. |
|
Run the query faster, but give no guarantees on the ordering of the results. |
|
Not used anymore. |
|
Populate |