From 00414e165ed4c1b9e88d3cbdffebb213564a6fa7 Mon Sep 17 00:00:00 2001 From: Erik Kluzek Date: Mon, 8 May 2023 14:52:19 -0600 Subject: [PATCH 1/2] Remove tabs fixing #231 --- datm/cime_config/buildnml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/datm/cime_config/buildnml b/datm/cime_config/buildnml index c3d59375a..d8c11a452 100755 --- a/datm/cime_config/buildnml +++ b/datm/cime_config/buildnml @@ -64,10 +64,10 @@ def _get_neon_data_availability(case, neonsite): for version in dataversions: # Once a date range for a version has been determined for any version, the loop is complete. - # Eg, if data is available for v3, the loop will not continue to v2; - # however, if data is not available for v3, it will check for v2. - # Thus, it is important for dataversions to be listed from newest to oldest. - if not newestdate: + # Eg, if data is available for v3, the loop will not continue to v2; + # however, if data is not available for v3, it will check for v2. + # Thus, it is important for dataversions to be listed from newest to oldest. + if not newestdate: with open(fullpath, "r") as fd: for line in fd.readlines(): fpath, fname = os.path.split(line) @@ -220,7 +220,7 @@ def _create_drv_flds_in(case, confdir): # for now we are hard-coding this file name and values because we only need it for ozone if datm_preso3 != "none": - # Generate drv_flds_in file + # Generate drv_flds_in file outfile = os.path.join(confdir, "drv_flds_in") ozone_nl_name = "&ozone_coupling_nl" ozone_freq_par = "atm_ozone_frequency" From 977260a80b23bbdcd826218fdc496c7f04a42340 Mon Sep 17 00:00:00 2001 From: Erik Kluzek Date: Mon, 8 May 2023 14:52:42 -0600 Subject: [PATCH 2/2] Add externals to the git ignore --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 34b286f3e..625692541 100644 --- a/.gitignore +++ b/.gitignore @@ -31,5 +31,9 @@ *.out *.app +# Externals +fox +share/genf90 + # ignore pycache __pycache__