Skip to content

Commit

Permalink
Update of conforms to
Browse files Browse the repository at this point in the history
  • Loading branch information
david-i-berry committed Jan 6, 2025
1 parent 43b784a commit 61bdae0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bufr2geojson/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,7 @@ def as_geojson(self, bufr_handle: int, id: str,
data = {
"geojson": {
"id": feature_id,
"conformsTo": ["https://wis.wmo.int/spec/wccdm-obs/1/req/observation"], # noqa
"conformsTo": ["https://wis.wmo.int/spec/wccdm-obs/1/conf/observation"], # noqa
"type": "Feature",
"geometry": self.get_location(bufr_class=xx),
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion tests/test_bufr2geojson.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def geojson_schema():
def geojson_output():
return {
"id": "1ec58338aab209c8ab22f05309315b71-0",
"conformsTo": ["https://wis.wmo.int/spec/wccdm-obs/1/req/observation"],
"conformsTo": ["https://wis.wmo.int/spec/wccdm-obs/1/conf/observation"],
"type": "Feature",
"geometry": {
"type": "Point",
Expand Down

0 comments on commit 61bdae0

Please sign in to comment.