Skip to content

Commit

Permalink
get rid of potential norwegian characters
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenwh committed Aug 30, 2024
1 parent 7c5af87 commit 3e98589
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nansat/mappers/mapper_netcdf_cf.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ def __init__(self, filename, gdal_dataset, gdal_metadata, *args, **kwargs):
# Set GCMD/DIF compatible metadata if available
self._set_time_coverage_metadata(metadata)

# Add global metadata
metadata.pop("title_no", "")
metadata.pop("summary_no", "")
self.dataset.SetMetadata(metadata)

# Then add remaining GCMD/DIF compatible metadata in inheriting mappers

def times(self):
Expand Down

0 comments on commit 3e98589

Please sign in to comment.