From c5a6b1f2f35bda3c818d5d1ecc67503010b1e75c Mon Sep 17 00:00:00 2001 From: RoryPTB <47696929+RoryPTB@users.noreply.github.com> Date: Fri, 15 Sep 2023 14:06:20 +0200 Subject: [PATCH] Set geometry to None when there is an error --- synop2bufr/__init__.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/synop2bufr/__init__.py b/synop2bufr/__init__.py index 32c679b..b9861c5 100644 --- a/synop2bufr/__init__.py +++ b/synop2bufr/__init__.py @@ -33,7 +33,7 @@ from pymetdecoder import synop from csv2bufr import BUFRMessage -__version__ = '0.6.dev1' +__version__ = '0.6.0' LOGGER = logging.getLogger(__name__) @@ -1332,10 +1332,7 @@ def transform(data: str, metadata: str, year: int, yield { "_meta": { "id": None, - "geometry": { - "type": "Point", - "coordinates": None - }, + "geometry": None, "properties": { "md5": None, "wigos_station_identifier": None,