-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xarray.combine by coords with Docker #5
Comments
Can you please provide the exact runtime environments on your Windows machine an in the container? All package versions, Python version, etc. |
The runtime environment of my lokal machine is attatched. runtime environment lokal machine.txt The runtime environment for the server will be added shortly by a member of the server-dev team |
The Docker Specification: |
"The most recent version is installed" - the differences that might occur on different systems here might help you to track down the error, so that's why I asked for the exact versions. |
I recommend you compare the two lists and see if anything sticks out. If you'd like me to take an actual look, please prepare a minimal reproducible example. Thanks! |
In the docker-compose branch from our GeoSoft2_Project Repository in the minExample Directory is a Example script which reproduces the error. The job.json file is also required. (https://github.com/GeoSoftII2020-21/GeoSoftII_Projekt/tree/Docker-compose) It needs the requests and docker package installed and also docker and docker compose. Also at least 12gb ram are needed. The whole log from the Server is printed in the Commandline (if exectuted in a commandline). It does not Terminate the the Server after its completion! |
Did you see pydata/xarray#4213 ? |
The problematic function is used a few times in the code: https://github.com/GeoSoftII2020-21/GeoSoftII_DataServer/search?q=xr.combine_by_coords The problematic line in the code seems to be https://github.com/GeoSoftII2020-21/GeoSoftII_DataServer/blob/main/Wrapper/Collections_Sentinel2_SST_Data.py#L583 You should be able to force the error by writing a test that calls the function |
Error solved by replacing the xArray.merge_by_coords with the xArray.open_mfdataset, which is based on the merge_by_coord function |
When dockerised the wrappermethod(Collection_Sentinel_SST_Data) throws an error:
Errormessage.txt
The same command on a lokal windowsmachine goes threw without an error
The text was updated successfully, but these errors were encountered: