From 74e0c9e6c20e70f13a411af42d09c5fefe3a4a7b Mon Sep 17 00:00:00 2001 From: Tom Kralidis Date: Sun, 9 Apr 2023 21:17:21 -0400 Subject: [PATCH] update release version 0.14.0 --- debian/changelog | 15 +++++++++++++++ pygeometa/__init__.py | 2 +- pygeometa/schemas/wmo_wcmp2/__init__.py | 4 +--- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index cc2c91a..e6d6eab 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,18 @@ +pygeometa (0.14.0) focal; urgency=medium + + * add metadata transformation workflow (#186) + * MCF schema updates (#187) + * fix ISO based distribution model (#175) + * add WMO WCMP2 updates + * improve ISO contact parsing (#207) + * add identification.license to MCF (#205) + * update OARec themes/concepts model (#213) + * add support for spatial keywords to MCF (#202) + * streamline OARec contacts (@215) + * update ISO parsing based on OWSLib 0.29 + + -- Tom Kralidis Mon, 10 Apr 2023 01:05:25 +0000 + pygeometa (0.13.1) bionic; urgency=medium * fix pygeoapi media type and payload for raw responses diff --git a/pygeometa/__init__.py b/pygeometa/__init__.py index 1b8e636..730ad0e 100644 --- a/pygeometa/__init__.py +++ b/pygeometa/__init__.py @@ -49,7 +49,7 @@ from pygeometa.core import (generate, import_, info, schemas, transform, validate) -__version__ = '0.13.1' +__version__ = '0.14.0' @click.group() diff --git a/pygeometa/schemas/wmo_wcmp2/__init__.py b/pygeometa/schemas/wmo_wcmp2/__init__.py index f5e4d7c..adfa562 100644 --- a/pygeometa/schemas/wmo_wcmp2/__init__.py +++ b/pygeometa/schemas/wmo_wcmp2/__init__.py @@ -103,9 +103,7 @@ def write(self, mcf: dict, stringify: str = True) -> Union[dict, str]: record['links'].append(link) try: - record['properties']['wmo:dataPolicy'] = { - 'name': mcf['identification']['wmo_data_policy'] - } + record['properties']['wmo:dataPolicy'] = mcf['identification']['wmo_data_policy'] # noqa except KeyError: LOGGER.warning('Missing wmo:dataPolicy')