Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pymistral
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Aaron Spring
pymistral
Commits
f2190506
Commit
f2190506
authored
4 years ago
by
Aaron Spring
Browse files
Options
Downloads
Patches
Plain Diff
fix path
parent
29fa60ca
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pymistral/cdo_post.py
+2
-1
2 additions, 1 deletion
pymistral/cdo_post.py
pymistral/plot.py
+0
-1
0 additions, 1 deletion
pymistral/plot.py
with
2 additions
and
2 deletions
pymistral/cdo_post.py
+
2
−
1
View file @
f2190506
...
...
@@ -7,6 +7,7 @@ import xarray as xr
import
cdo
import
logging
from
.setup
import
my_system
warnings
.
simplefilter
(
'
ignore
'
)
xr
.
set_options
(
keep_attrs
=
True
)
...
...
@@ -19,7 +20,7 @@ expid = 'asp_esmControl_PMassim_3014_TSDICALK_over_3170'
exppath
=
'
/work/bm1124/m300524/experiments
'
year
=
3171
# year to get output labels from
# outpath = os.path.expanduser('~/pymistral') # folder to save output_df to
outpath
=
'
.
'
outpath
=
'
.
'
if
my_system
==
'
local
'
else
os
.
path
.
expanduser
(
'
~/pymistral
'
)
def
find_all_outdatatypes_in_exp
(
expid
=
expid
,
exppath
=
exppath
,
year
=
1990
):
...
...
This diff is collapsed.
Click to expand it.
pymistral/plot.py
+
0
−
1
View file @
f2190506
...
...
@@ -67,7 +67,6 @@ class CartopyMap(object):
proj
=
ccrs
.
PlateCarree
()
if
isinstance
(
proj
,
str
):
proj
=
eval
(
f
'
ccrs.
{
proj
}
()
'
)
# assert isinstance(proj, ccrs)
xda
=
self
.
_obj
# da, convert to da or error
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment