Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Issues with Inputdata Download When Using CESM2.1.3

Jerry

Cao
Member
What version of the code are you using?
CESM 2.1.3


Have you made any changes to files in the source tree?
Not yet


Describe every step you took leading up to the problem:


If this is a port to a new machine: Please attach any files you added or changed for the machine port (e.g., config_compilers.xml, config_machines.xml, and config_batch.xml) and tell us the compiler version you are using on this machine.
Please attach any log files showing error messages or other useful information.


Describe your problem or question:

I encountered difficulties while attempting to download the required input files using check_input_data --download when running the BWHIST component set.
I sought assistance from the UCAR Service Desk, and the technician informed me that the automatic inputdata download failed because FTP is no longer supported. They recommended that I upgrade to a newer version of CESM. However, this presents significant challenges for me, both technically and because my previous work has been based on version 2.1.3.
I would like to inquire whether it might be possible to resolve the issue by modifying the part of the code responsible for inputdata downloading in CESM 2.1.3.
Below, I have included the error log from running the ./check_input_data script:
Client protocol gftp not enabled
Using protocol wget with user anonymous and passwd user@example.edu
Could not connect to repo 'ftp://ftp.cgd.ucar.edu/cesm/inputdata/'
This is most likely either a proxy, or network issue .
Trying to download file: '../inputdata_checksum.dat' to path '/public/home/amduan/panzl/cases/BWTEST1/run/inputdata_checksum.dat.raw' using NoneType protocol.
Traceback (most recent call last):
File "./check_input_data", line 76, in <module>
_main_func(__doc__)
File "./check_input_data", line 71, in _main_func
chksum=chksum) else 1)
File "/public/home/amduan/cesm/2.1.3/cime/scripts/Tools/../../scripts/lib/CIME/case/check_input_data.py", line 163, in check_all_input_data
_download_checksum_file(self.get_value("RUNDIR"))
File "/public/home/amduan/cesm/2.1.3/cime/scripts/Tools/../../scripts/lib/CIME/case/check_input_data.py", line 54, in _download_checksum_file
success = server.getfile(rel_path, new_file)
AttributeError: 'NoneType' object has no attribute 'getfile'

I have also uploaded the config_inputdata.xml file corresponding to version 2.1.3
 

Attachments

  • config_inputdata.xml.txt
    1.4 KB · Views: 1

Jerry

Cao
Member
Dear all,
With the help of Joseph O'Neill, this issue has been resolved by modifying the ftp protocol to https in the wget section of config_inputdata.xml and commenting out other related protocol code. I would like to express my sincere thanks to Joseph and the UCAR Service Desk support staff for their assistance.

Best Regards,
Shutao
 
Vote Upvote 0 Downvote
Top