Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify codes #928

Merged
merged 23 commits into from
Apr 28, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update pcmdi_compute_climatologies-CMOR.py
  • Loading branch information
lee1043 committed Apr 28, 2023
commit 9d1b796498bbec93390317b024623ed5d5eccd4e
Original file line number Diff line number Diff line change
Expand Up @@ -668,8 +668,7 @@ def runClim(A):
print(
"Your Python does not have CMOR, using regular cdms to write out files"
)
if not os.path.exists(A.results_dir):
os.makedirs(A.results_dir)
os.makedirs(A.results_dir, exist_ok=True)
end_tc = tc[-1].add(1, cdtime.Month)

# Populate fout template with values
Expand Down