Skip to content

Commit

Permalink
Merge branch 'python_dev_meeting' of github.com:negin513/CTSM into py…
Browse files Browse the repository at this point in the history
…thon_dev_meeting

 Conflicts:
	python/ctsm/site_and_regional/single_point_case.py
  • Loading branch information
ekluzek committed Jan 5, 2022
2 parents 94777dc + 416f45f commit 72261e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions python/ctsm/site_and_regional/single_point_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,6 @@ def create_surfdata_at_point(self, indir, file, user_mods_dir):
# update attributes
self.update_metadata(f_out)
f_out.attrs["Created_from"] = fsurf_in
if ( hasattr(f_out.attrs, "History_Log" ) ):
del f_out.attrs["History_Log"]

# mode 'w' overwrites file
wfile = os.path.join(self.output_dir, fsurf_out)
f_out.to_netcdf(path=wfile, mode="w", format="NETCDF3_64BIT")
Expand Down
2 changes: 1 addition & 1 deletion python/ctsm/subset_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ def get_parser():
type=str,
default="",
)
add_logging_args(subparser)

# -- print help for both subparsers
parser.epilog = textwrap.dedent(
Expand Down Expand Up @@ -576,7 +577,6 @@ def main():
# add logging flags from ctsm_logging
setup_logging_pre_config()
parser = get_parser()
add_logging_args(parser)
args = parser.parse_args()
process_logging_args(args)

Expand Down

0 comments on commit 72261e3

Please sign in to comment.