Skip to content

Commit 6e0fdd6

Browse files
authored
Merge pull request #142 from falconstryker/devel
Devel
2 parents 1ef7383 + f97fef8 commit 6e0fdd6

File tree

3 files changed

+10
-31
lines changed

3 files changed

+10
-31
lines changed

README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ Community Analysis Pipeline (CAP)
33

44
Welcome to the Mars Climate Modeling Center (MCMC) **Community Analysis Pipeline (CAP)**.
55

6+
For instructions and documentation please see our `online documentation <https://amescap.readthedocs.io>`_.
7+
68
About
79
-----
810
**CAP** is a set of Python3 libraries and command-line executables that streamline downloading, processing, and plotting output from the NASA Ames Mars Global Climate Models:

bin/MarsVars.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2784,6 +2784,14 @@ def __init__(self, name):
27842784

27852785
if interp_type == "pfull":
27862786
ak, bk = ak_bk_loader(f)
2787+
else:
2788+
print(f"{Red}column integration error: the file "
2789+
f"{input_file} does not have the requisite variables "
2790+
f"(ak and bk), please use a non-column integrated file "
2791+
f"to use this function (e.g., atmos_average.nc and not "
2792+
f"of atmos_average_pstd.nc).{Nclr}")
2793+
f.close()
2794+
continue
27872795

27882796
# Use check_variable_exists instead of direct key lookup
27892797
if not check_variable_exists(icol, f.variables.keys()):

docs/NAS_INSTRUCTIONS.txt

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)