Open vbalza opened 2 years ago
Hi @vbalza, As far as I understand your issue, you try to run serveral requests in parralel and motu python script seems to not isolate the dates of all your requests. We have never tried this use case, so either you can try to fix the source code as it is open source ;-) or another way could be to run Motu requests using exec method to isolate each request in a separate python process.
Regards, Motu Team
Hello! Following the guidance in this article, we implemented a Python script using the
motuclient
library to retrieve CMEMS data via the subsetter.Because the data size of the download is limited, we break up a larger temporal request (e.g.,
2022-08-01
through2022-09-04
) into smaller, seven-day requests. The script attempts to submit parallel requests but we are running into an error in which the data saved for a given request start and end date (e.g.,2022-08-29
to2022-09-04
) via themotu_api.execute_request()
method is actually the data of another request running in parallel (e.g.,2022-08-01
to2022-08-07
).Do you have any guidance on how to address this issue?
We have attached a Jupyter notebook illustrating the error. Thanks in advance for any help you can provide! download_cmems.pdf