Replies: 1 comment
-
Entire error message: File "/home/Development/Python/pygeoapi/lib/python3.11/site-packages/flask/app.py", line 1536, in call File "/home/Development/Python/pygeoapi/lib/python3.11/site-packages/pygeoapi-0.20.dev0-py3.11.egg/pygeoapi/flask_app.py", line 153, in execute_from_flask |
Beta Was this translation helpful? Give feedback.
-
Hey,
I'm trying to provide a NetCDF file using xarray-edr to query raster data at a specific position. However, I'm encountering an error with some NetCDF files and am unsure how to troubleshoot it. Below, you'll find a link to the NetCDF file, the corresponding API call, the resulting error, and the configuration file.
How to get rid of the error and make the position query working?
Link to Netcdf file: 60 Arc-Second Resolution Bedrock elevation netCDF https://www.ngdc.noaa.gov/thredds/catalog/global/ETOPO2022/60s/60s_bed_elev_netcdf/catalog.html?dataset=globalDatasetScan/ETOPO2022/60s/60s_bed_elev_netcdf/ETOPO_2022_v1_60s_N90W180_bed.nc
API call: http://localhost:5000/collections/ETOPO_2022_v1_60s_N90W180_bed_orig/position?f=json&coords=POINT(-75%2045)
Error: TypeError: |S1 type <class 'numpy.dtypes.BytesDType'> not serializable
pygeoapi config:
Beta Was this translation helpful? Give feedback.
All reactions