Skip to content

Commit

Permalink
Merge pull request ESCOMP#110 from jedwards4b/neon_csv_format
Browse files Browse the repository at this point in the history
format of neon data listing changed
  • Loading branch information
jedwards4b authored Aug 1, 2021
2 parents e9e072d + f96a605 commit a9625cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datm/cime_config/buildnml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def _get_neon_data_availability(case, neonsite):
for line in fd.readlines():
fpath, fname = os.path.split(line)
if fpath.endswith('cdeps/v1/'+neonsite):
neonatm, date = line.strip().split(',')
neonatm, date, _ = line.strip().split(',')
if neonatm.endswith('.nc'):
neonatm = neonatm.split('/')[-1]
newestdate = datetime.strptime(neonatm,"%Y-%m.nc")
Expand Down

0 comments on commit a9625cd

Please sign in to comment.