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

Is there a setting error for downloading

xliu

Jon
Member
need help check. a setting error for downloading? Thanks.
..

Model pop missing file ebm_param_filename = '/home/liu/Projects/CESM_ucar_/CESM2.1.3/projects/inputdata/ocn/pop/gx1v6/forcing/EBMparm_HU20HL20_gx1v6.20170312.nc'
Model pop missing file init_ts_file = '/home/liu/Projects/CESM_ucar_/CESM2.1.3/projects/inputdata/ocn/pop/gx1v7/ic/ts_WOA13v2_jan_ic_gx1v7_20170706.ieeer8'
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 '/home/liu/Projects/CESM_ucar_/CESM2.1.3/projects/test2/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 "/home/liu/Projects/CESM_ucar_/CESM2.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 "/home/liu/Projects/CESM_ucar_/CESM2.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'
 

jedwards

CSEG and Liaisons
Staff member
That you cannot connect to the repo using
ftp://ftp.cgd.ucar.edu/cesm/inputdata

appears to be a problem on your system. Discuss with your support staff.
 

xliu

Jon
Member
That you cannot connect to the repo using
ftp://ftp.cgd.ucar.edu/cesm/inputdata

appears to be a problem on your system. Discuss with your support staff.
RUN: wget --no-check-certificate --user anonymous --password user@example.edu --spider ftp://ftp.cgd.ucar.edu/cesm/inputdata
stat: 8

errput: --2021-03-15 10:30:40-- ftp://ftp.cgd.ucar.edu/cesm/inputdata
=> ‘inputdata’
Resolving ftp.cgd.ucar.edu (ftp.cgd.ucar.edu)... 128.117.23.220
Connecting to ftp.cgd.ucar.edu (ftp.cgd.ucar.edu)|128.117.23.220|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /cesm ... done.
==> SIZE inputdata ... done.

==> PASV ... done. --2021-03-15 10:30:40-- ftp://ftp.cgd.ucar.edu/cesm/inputdata
=> ‘.listing’
==> CWD (1) /cesm ... done.
==> PASV ... done. ==> LIST ... done.

0K 197K=0.004s

Removed ‘.listing’.

File ‘inputdata’ exists.
 

xliu

Jon
Member
That you cannot connect to the repo using
ftp://ftp.cgd.ucar.edu/cesm/inputdata

appears to be a problem on your system. Discuss with your support staff.
Is it normal two '//' in the path? how to fix this. Thanks.

Creating component namelists
Calling /home/liu/Projects/CESM_ucar_/CESM2.1.3/components/cam//cime_config/buildnml
...calling cam buildcpp to set build time options
CAM namelist copy: file1 /home/liu/Projects/CESM_ucar_/CESM2.1.3/projects/test2/Buildconf/camconf/atm_in file2 /home/liu/Projects/CESM_ucar_/CESM2.1.3/projects
/test2/run/atm_in
Calling /home/liu/Projects/CESM_ucar_/CESM2.1.3/components/clm//cime_config/buildnml
Calling /home/liu/Projects/CESM_ucar_/CESM2.1.3/components/cice//cime_config/buildnml
.
.
 

rwandamc

rwandamc
New Member
AttributeError: 'NoneType' object has no attribute 'getfile'

AttributeError means that there was an Error that had to do with an Attribute request. In general, when you write x.y, y is the purported attribute of x. NoneType means that instead of an instance of whatever Class or Object you think you're working with, you've actually got None. That usually means that an assignment or function call up failed or returned an unexpected result.

mylist = mylist.sort()

The sort() method of a list sorts the list in-place, that is, mylist is modified. But the actual return value of the method is None and not the list sorted. So you've just assigned None to mylist. If you next try to do, say, mylist.append(1) Python will give you this error.
 
Top