You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But this breaks the mechanism for updates. The wget scripts are looking if the data is there already and then skipping it. After "fixing" the version this is not possible any more for the subsequent runs.
In my next version of this workaround I would modify the wget-script to replace the "1" with the right version number prior to run it.
However, I agree with @jgriesfeller and think we would need a real fix on this. Or maybe someone can tell us how to use the API in the right way if we missed something.
First thanks for your great work providing the download script. Is has saved me a lot of time.
I am trying to use the download scripts reproducing the DRKZ file structure for usage with the ESMValTool.
Example URL:
https://esgf-data.dkrz.de/esg-search/wget?mip_era=CMIP6&variable=od440aer&experiment_id=historical&variant_label=r1i1p1f1&realm=aerosol,atmos,atmosChem,ocean,seaIce&frequency=mon,fx&source_id=IPSL-CM6A-LR&limit=9999&download_structure=project,institution_id,experiment_id,source_id,variant_label,table_id,grid_label,version
The same as search:
https://esgf-data.dkrz.de/esg-search/search?project=CMIP6&variable=od440aer&experiment_id=historical&variant_label=r1i1p1f1&realm=aerosol,atmos,atmosChem,ocean,seaIce&frequency=mon,fx&source_id=IPSL-CM6A-LR&format=application%2Fsolr%2Bjson&fields=master_id,version,timestamp
gives the correct version information (truncated):
Unfortunately, the version the download script gets is just '1' instead of '20180803':
The interesting thing is that it's not always wrong:
https://esgf-data.dkrz.de/esg-search/wget?mip_era=CMIP6&variable=od440aer&experiment_id=historical&variant_label=r1i1p1f1&realm=aerosol,atmos,atmosChem,ocean,seaIce&frequency=mon,fx&source_id=TaiESM1&limit=9999&download_structure=project,institution_id,experiment_id,source_id,variant_label,table_id,grid_label,version
actually gets the right version from the https download but the wrong version from the http download. (Needs the -i switch to download from https).
Is this a bug? Is there a way to prepend the version with a 'v' (to completely reproduce the DKRZ file naming scheme)?
Thanks for your help.
The text was updated successfully, but these errors were encountered: