It seems that not all of the meta-data is present at all times. In particular if you download Værøy DOM10 not as a dedicated file, then VerticalUnitsGeoKey is not present in the tiffile.
Traceback (most recent call last):
File "/home/kjetijo/.local/lib/python3.6/site-packages/GeoMaker-0.1-py3.6.egg/geomaker/asynchronous.py", line 229, in process
result = self.job.process(self)
File "/home/kjetijo/.local/lib/python3.6/site-packages/GeoMaker-0.1-py3.6.egg/geomaker/asynchronous.py", line 380, in process
job.process(manager, *args, **kwargs)
File "/home/kjetijo/.local/lib/python3.6/site-packages/GeoMaker-0.1-py3.6.egg/geomaker/asynchronous.py", line 410, in process
retval = job.process(manager, retval)
File "/home/kjetijo/.local/lib/python3.6/site-packages/GeoMaker-0.1-py3.6.egg/geomaker/asynchronous.py", line 394, in process
return self.job.process(manager, arg)
File "/home/kjetijo/.local/lib/python3.6/site-packages/GeoMaker-0.1-py3.6.egg/geomaker/asynchronous.py", line 364, in process
retval = self.func(*args, **kwargs, manager=manager)
File "/home/kjetijo/.local/lib/python3.6/site-packages/GeoMaker-0.1-py3.6.egg/geomaker/db.py", line 625, in _download_data
util.verify_geotiff(filename)
File "/home/kjetijo/.local/lib/python3.6/site-packages/GeoMaker-0.1-py3.6.egg/geomaker/util.py", line 258, in verify_geotiff
assert metadata['VerticalUnitsGeoKey'] == geodb.Linear.Meter
KeyError: 'VerticalUnitsGeoKey'
The complete list of metadata for this particular tiffile is
No, not everything is necessary. I just wanted to be extra careful so I didn't accidentally rely on an unstated assumption that turned out to be invalid.
It seems that not all of the meta-data is present at all times. In particular if you download Værøy DOM10 not as a dedicated file, then
VerticalUnitsGeoKey
is not present in the tiffile.The complete list of metadata for this particular tiffile is