Open rafa-guedes opened 1 year ago
Hi @rafa-guedes the wget API should produce a .sh script. Can you describe what you did using the Metagrid UI to obtain a Python script instead?
Hi @sashakames I did get the bash script however inside the script there is a python code embedded in the openid_to_myproxy_args
bash function which is defined in the python2 syntax. The bash scripts only work for me when I replace that code by the python3 equivalent as above.
@rafa-guedes thank you for clarifying that. This is to download CORDEX data? For CMIP6 you should use -s to bypass the myproxy or for CORDEX use -H. We are updating the wget API as a separate effort but not yet deployed.
@rafa-guedes The site at https://esgf-dev1.llnl.gov/ uses the new wget script. You could try that instead.
CORDEX data is now unrestricted. We can migrate to the updated wget API once it is more stably hosted..
Is your feature request related to a problem? Please describe
The wget scripts downloaded from the platform are defined for python2 and fail on python3. It would be helpful have an option to download python3 versions of the wget scripts.
Describe the solution you'd like
Change the following part of the script:
Into:
Describe alternatives you've considered
The above changes works for me