Closed lsangelantoni closed 1 year ago
Hi @lsangelantoni,
I'll take a look.
At the moment download_and_transform
is also using cdsapi under the hood. A couple of questions:
cdsapi
?Hi Mattia,
thanks,
Lorenzo
On Wed, Mar 1, 2023 at 3:35 PM Mattia Almansi @.***> wrote:
Hi @lsangelantoni https://github.com/lsangelantoni,
I'll take a look. At the moment download_and_transform is also using cdsapi under the hood. A couple of questions:
- Did you try locally, on the VM, or both?
- Have you tried the same exact request on the same machine using cdsapi?
— Reply to this email directly, view it on GitHub https://github.com/bopen/c3s-eqc-toolbox-template/issues/20#issuecomment-1450253811, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6GR4TXDQIOCCLJI43AOVK3WZ5NDBANCNFSM6AAAAAAVMEBOOY . You are receiving this because you were mentioned.Message ID: @.***>
Looks like there's something wrong in the request you are doing. I get the same error if I do this:
import cdsapi
cds = cdsapi.Client()
cds.retrieve(*request_sim[i]).download()
where request_sim[i]
is:
('projections-cordex-domains-single-levels',
{'format': 'tgz',
'temporal_resolution': 'monthly_mean',
'experiment': 'historical',
'variable': '2m_air_temperature',
'domain': 'europe',
'gcm_model': 'mpi_m_mpi_esm_lr',
'rcm_model': 'smhi_rca4',
'horizontal_resolution': '0_11_degree_x_0_11_degree',
'ensemble_member': 'r1i1p1',
'year': ['1971', '1976', '1981', '1986', '1991', '1996', '2001'],
'month': ['01',
'02',
'03',
'04',
'05',
'06',
'07',
'08',
'09',
'10',
'11',
'12']})
@lsangelantoni Looking at the download form, year
and month
are not valid parameters for this dataset.
You should use start_year
and/or end_year
instead.
Hi @lsangelantoni, Did you get started with the Euro-CORDEX notebook or are you still having troubles accessing the data?
Hi Mattia,
it was an issue related to our local server cache, preventing to store files. We are now working on Euro-CORDEX jupyter notebooks.
Thanks. Best, Lorenzo
On Tue, Mar 7, 2023 at 4:12 PM Mattia Almansi @.***> wrote:
Hi @lsangelantoni https://github.com/lsangelantoni, Did you get started with the Euro-CORDEX notebook or are you still having troubles accessing the data?
— Reply to this email directly, view it on GitHub https://github.com/bopen/c3s-eqc-toolbox-template/issues/20#issuecomment-1458343162, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6GR4TV5Q3KR2QCFEHDYR2DW25F67ANCNFSM6AAAAAAVMEBOOY . You are receiving this because you were mentioned.Message ID: @.***>
Hi Mattia,
we are failing to download Euro-CORDEX simulations. We regularly download them with the "old" cdsapi but some issue comes up with the download_and_transform function of the new toolbox that does not recognize some input parameters.
In the attachment, you can find the related section of the code. issue_download_cdx.zip
Many thanks, Lorenzo