Sydney-Informatics-Hub / AgReFed-Workshop

Workshop documentation, workflows and use-case examples for AgReFed DataHarvester and GEE in Python and R.
https://sydney-informatics-hub.github.io/AgReFed-Workshop/
MIT License
2 stars 3 forks source link

Server error SLGA/landscape data? #7

Open Noskin-Hoskin opened 1 year ago

Noskin-Hoskin commented 1 year ago

Hi not sure if this is the place to raise this issue, as maybe its on the csiro end.

Getting an error below when trying to extract data (using harvest() with yaml) from csiro landscape and slga sources.

Error: requests.exceptions.HTTPError: 502 Server Error: Proxy Error for url: https://www.asris.csiro.au/arcgis/services/TERN/SRTM_attributes_3s_ACLEP_AU/MapServer/WCSServer?service=WCS&request=GetCapabilities&version=1.0.0

sebhaan commented 1 year ago

Just tested it as well with the harvest() function and one time it worked and another time I got the 502 Server Error as well. This seems to be a server side error and indicates that there might be an issue with either the server handling the requests or possibly the network connection between the client and the server. Possible other issues: server overload, Issues with Proxy Servers or Load Balancers. So there is not much one can do from the client side. These server issues can happen but are typically temporary. Just try again later, hope it's resolved then.

sebhaan commented 1 year ago

Note that there is an alternative for getting SLGA data via the GoogleEarthEngine connection (https://developers.google.com/earth-engine/datasets/catalog/CSIRO_SLGA) ,which is accessible with the geodata-harvester as well. You will have to add the selection in the settings file under the GEE sources instead of the SLGA part and it will download all bands, which I presume are the depth intervals and percentiles.

Noskin-Hoskin commented 1 year ago

Cheers thanks, was working in the past so figured it might be a server side issue. I'll try get the GEE way going.

Just out of interest if you have time to look to help my understanding ... Is it possible to use the url in the source code with /rest/ in it, as this seems to have a landing point when i look in my browser, compared to the error page generated when entering the original url above? https://www.asris.csiro.au/arcgis/rest/services/TERN/SRTM_attributes_3s_ACLEP_AU/MapServer/WCSServer?service=WCS&request=GetCapabilities&version=1.0.0

Let me know if thats not how this works haha

Thanks

sebhaan commented 1 year ago

thanks for checking. The '/rest/' is for the the Rest API, this doesn't work for geoserver such as WebCoverageService. Also loading SLGA layers via QGIS/ArcGIS results in proxy server error currently.