-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
enhancementNew feature or requestNew feature or requestsameoldApplies to sameold libraryApplies to sameold library
Description
At present, sameold only supports retrieving the six-digit SAME location codes (PSSCCC). No further interpretation is performed. We should consider:
- Adding a type to represent the SAME location code
- Containment tests: is the area specified by code X contained in the area specified by code Y?
- United States FIPS code
- Canada Location Code
- Providing a location database which maps codes to place names. In the United States, there are many codes for marine areas and other places which are not part of core FIPS, and there are several different lists.
- Providing a location database which maps codes to geo-referenced
POLYGONgeometries. This database would likely be very large and need constant updating.
Download locations for GIS files, as of this writing. These files are subject to periodic update and should not be used blindly.
- U.S. Counties (partial & full): https://www.weather.gov/source/gis/Shapefiles/County/cs10nv20.zip: represents SAME codes directly
- Coastal Marine Zones: https://www.weather.gov/source/gis/Shapefiles/WSOM/mz30mr21.zip: the ID field is named
zzZnnn. An example is IDAMZ158→ SAME075158The last three digitsnnnmap directly to a SAME code suffix. The first two alphanumerics map to a "state" field per this page.AM:75AN:73GM:77LC:94LE:96LH:93LM:92LO:97LS:91PH:59PK:58PM:65PS:61PZ:57SL:98
- Offshore Marine Zones: https://www.weather.gov/source/gis/Shapefiles/WSOM/oz16ap19.zip: identical ID mapping to the above
- Canada:
- Land: https://dd.weather.gc.ca/meteocode/geodata/version_6.6.0/MSC_Geography_Pkg_V6_6_0_Land_KMZ.zip, see
land_PubMesoZone_detail.kmz - Water: https://dd.weather.gc.ca/meteocode/geodata/version_6.6.0/MSC_Geography_Pkg_V6_6_0_Water_KMZ.zip, see
water_MarStdZone_detail.kmz. - Placenames only: https://dd.weather.gc.ca/meteocode/geodata/version_6.6.0/Documentations/Location_Metadata_V6_6_0_UTF8.txt
- Land: https://dd.weather.gc.ca/meteocode/geodata/version_6.6.0/MSC_Geography_Pkg_V6_6_0_Land_KMZ.zip, see
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestsameoldApplies to sameold libraryApplies to sameold library