You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running this command: datacube-ows-update --schema --role admin
We have this error:
Traceback (most recent call last):
File "/usr/local/bin/datacube-ows-update", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/datacube_ows/update_ranges_impl.py", line 85, in main
create_views(dc)
File "/usr/local/lib/python3.10/dist-packages/datacube_ows/update_ranges_impl.py", line 126, in create_views
run_sql(dc, "extent_views/create", database=dbname)
File "/usr/local/lib/python3.10/dist-packages/datacube_ows/update_ranges_impl.py", line 183, in run_sql
psycopg2connection.execute(q)
psycopg2.errors.InternalError_: parse error - invalid geometry
HINT: "POLYGON(( , " <-- parse error at position 13 within geometry
The "solution" was to include the missing "extent" object in the YAML:
Our data are not indexed with stac-to-dc. I am using the "old" way by preparing dataset definitions according to the documentations and eo3 metadata type. With the same way i did it for 10 different MODIS products and i faced zero issues.
Dear contributors,
When running this command:
datacube-ows-update --schema --role admin
We have this error:
The "solution" was to include the missing "extent" object in the YAML:
Why extent object is missing? Any ideas on fixing it?
Thanks in advance,
Stelios
The text was updated successfully, but these errors were encountered: