Skip to content
Snippets Groups Projects
Commit f2190506 authored by Aaron Spring's avatar Aaron Spring
Browse files

fix path

parent 29fa60ca
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment