ESCOMP / MOSART

Model for Scale Adaptive River Transport, Mosart, part of the Community Earth System Model
http://www.cesm.ucar.edu/
Other
8 stars 27 forks source link

Will continually append to mosart.input_data_list #16

Closed ekluzek closed 5 years ago

ekluzek commented 5 years ago

In release.cesm2.0.00 the following change, means that mosart.input_data_list will be continually appended to for each run of preview_namelist...

-
-    #----------------------------------------------------
-    # Clear out old data.
-    #----------------------------------------------------
-    data_list_path = os.path.join(case.get_case_root(), "Buildconf", "mosart.input_data_list")
-    if os.path.exists(data_list_path):
-        os.remove(data_list_path)
ekluzek commented 5 years ago

This doesn't actually fail in the way I expected it to. So that must mean that cime is deleting old versions on it's own, before it creates the new one. So this code is redundant and can safely be removed.

ekluzek commented 5 years ago

Since, this doesn't cause a problem. I'm closing this as a wontfix.