gams / openkongqi

Outdoor air quality data
Apache License 2.0
3 stars 6 forks source link

Wildcard after station-JSON-level UUID #75

Closed libokj closed 3 years ago

libokj commented 3 years ago

Using wildcard after a station-JSON-level UUID (e.g., cn:shanghai:*, which represents okq_gams/data/stations/cn/shanghai.json) doesn't work. This is due to testing for a UUID without the wildcard but with the separator in the get_station_map function: https://github.com/gams/openkongqi/blob/7191464a560535e854754dceb3cc762be0ceec82/openkongqi/stations.py#L28-L35