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

OGGM testing results in errors #906

Closed
WFurian opened this issue Nov 13, 2019 · 3 comments
Closed

OGGM testing results in errors #906

WFurian opened this issue Nov 13, 2019 · 3 comments

Comments

@WFurian
Copy link

WFurian commented Nov 13, 2019

We are trying to get through the pytest without errors, but so far no luck. We've tried on Ubuntu 19.10 and 18.04.3, with Anaconda as well as Miniconda installed and with Python 3.6 and 3.7. On different computers the resulting errors differ, but on my personal one I always get two errors when the pytest routine hits test_prepro.py. Attached is the resulting text output:

======== test session starts
platform linux -- Python 3.6.7, pytest-5.2.2, py-1.8.0, pluggy-0.12.0
rootdir: /home/wilhelm
plugins: oggm-1.1.1
collected 223 items

anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_benchmarks.py ..... [ 2%]
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_graphics.py [ 10%]
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_models.py ...................ssss.ssss..s......s.sssssss..s [ 32%]
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_numerics.py .ssssssssssssss.s [ 40%]
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py .........s...................s..............s.s...FF..... [ 65%]
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py ..........................................ss.s.ssssss.sssssssss..ss.s.. [ 97%]
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_workflow.py sssss [100%]

=============================== FAILURES ========
________________________________________________________________________________ TestGCMClimate.test_compile_climate_input _________________________________________________________________________________

self = <oggm.tests.test_prepro.TestGCMClimate testMethod=test_compile_climate_input>

def test_compile_climate_input(self):

    filename = 'gcm_data'
    filesuffix = '_cesm'

    hef_file = get_demo_file('Hintereisferner_RGI5.shp')
    entity = gpd.read_file(hef_file).iloc[0]

    gdir = oggm.GlacierDirectory(entity, base_dir=self.testdir)
    gis.define_glacier_region(gdir, entity=entity)

    climate.process_cru_data(gdir)
    utils.compile_climate_input([gdir])

    f = get_demo_file('cesm.TREFHT.160001-200512.selection.nc')
    cfg.PATHS['cesm_temp_file'] = f
    f = get_demo_file('cesm.PRECC.160001-200512.selection.nc')
    cfg.PATHS['cesm_precc_file'] = f
    f = get_demo_file('cesm.PRECL.160001-200512.selection.nc')
    cfg.PATHS['cesm_precl_file'] = f
  gcm_climate.process_cesm_data(gdir, filesuffix=filesuffix)

anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py:2748:


anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/utils/_workflow.py:410: in _entity_task
out = task_func(gdir, **kwargs)
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/core/gcm_climate.py:247: in process_cesm_data
time_unit=time_unit, calendar=calendar, **kwargs)
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/utils/_workflow.py:410: in _entity_task
out = task_func(gdir, **kwargs)
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/core/gcm_climate.py:108: in process_gcm_data
ts_tmp_sel = temp.sel(time=slice(*year_range))
anaconda3/envs/oggm_env/lib/python3.6/site-packages/xarray/core/dataarray.py:1047: in sel
**indexers_kwargs
anaconda3/envs/oggm_env/lib/python3.6/site-packages/xarray/core/dataset.py:2000: in sel
self, indexers=indexers, method=method, tolerance=tolerance
anaconda3/envs/oggm_env/lib/python3.6/site-packages/xarray/core/coordinates.py:392: in remap_label_indexers
obj, v_indexers, method=method, tolerance=tolerance
anaconda3/envs/oggm_env/lib/python3.6/site-packages/xarray/core/indexing.py:261: in remap_label_indexers
idxr, new_idx = convert_label_indexer(index, label, dim, method, tolerance)
anaconda3/envs/oggm_env/lib/python3.6/site-packages/xarray/core/indexing.py:125: in convert_label_indexer
_sanitize_slice_element(label.step),
anaconda3/envs/oggm_env/lib/python3.6/site-packages/pandas/core/indexes/base.py:5034: in slice_indexer
start_slice, end_slice = self.slice_locs(start, end, step=step, kind=kind)
anaconda3/envs/oggm_env/lib/python3.6/site-packages/pandas/core/indexes/base.py:5248: in slice_locs
start_slice = self.get_slice_bound(start, "left", kind)
anaconda3/envs/oggm_env/lib/python3.6/site-packages/pandas/core/indexes/base.py:5160: in get_slice_bound
label = self._maybe_cast_slice_bound(label, side, kind)
anaconda3/envs/oggm_env/lib/python3.6/site-packages/xarray/coding/cftimeindex.py:338: in _maybe_cast_slice_bound
parsed, resolution = _parse_iso8601_with_reso(self.date_type, label)
anaconda3/envs/oggm_env/lib/python3.6/site-packages/xarray/coding/cftimeindex.py:116: in _parse_iso8601_with_reso
return default.replace(**replace), resolution


???
E ValueError: Replacing the dayofyr or dayofwk of a datetime is not supported.

cftime/_cftime.pyx:1239: ValueError
------------------------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------------------
2019-11-13 14:57:38: oggm.cfg: Using configuration file: /home/wilhelm/anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/params.cfg
2019-11-13 14:57:38: oggm.core.gis: (RGI50-11.00897) define_glacier_region
2019-11-13 14:57:38: oggm.core.climate: (RGI50-11.00897) process_cru_data
2019-11-13 14:57:41: oggm.core.gcm_climate: (RGI50-11.00897) process_cesm_data_cesm
2019-11-13 14:57:42: oggm.core.gcm_climate: (RGI50-11.00897) process_gcm_data_cesm
2019-11-13 14:57:42: oggm.core.gcm_climate: ValueError occurred during task process_gcm_data_cesm on RGI50-11.00897: Replacing the dayofyr or dayofwk of a datetime is not supported.
2019-11-13 14:57:42: oggm.core.gcm_climate: ValueError occurred during task process_cesm_data_cesm on RGI50-11.00897: Replacing the dayofyr or dayofwk of a datetime is not supported.
_____________________________________________________________________________________ TestGCMClimate.test_process_cesm _____________________________________________________________________________________

self = <oggm.tests.test_prepro.TestGCMClimate testMethod=test_process_cesm>

def test_process_cesm(self):

    hef_file = get_demo_file('Hintereisferner_RGI5.shp')
    entity = gpd.read_file(hef_file).iloc[0]

    gdir = oggm.GlacierDirectory(entity, base_dir=self.testdir)
    gis.define_glacier_region(gdir, entity=entity)
    climate.process_cru_data(gdir)

    ci = gdir.read_pickle('climate_info')
    self.assertEqual(ci['baseline_hydro_yr_0'], 1902)
    self.assertEqual(ci['baseline_hydro_yr_1'], 2014)

    f = get_demo_file('cesm.TREFHT.160001-200512.selection.nc')
    cfg.PATHS['cesm_temp_file'] = f
    f = get_demo_file('cesm.PRECC.160001-200512.selection.nc')
    cfg.PATHS['cesm_precc_file'] = f
    f = get_demo_file('cesm.PRECL.160001-200512.selection.nc')
    cfg.PATHS['cesm_precl_file'] = f
  gcm_climate.process_cesm_data(gdir)

anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py:2565:


anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/utils/_workflow.py:410: in _entity_task
out = task_func(gdir, **kwargs)
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/core/gcm_climate.py:247: in process_cesm_data
time_unit=time_unit, calendar=calendar, **kwargs)
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/utils/_workflow.py:410: in _entity_task
out = task_func(gdir, **kwargs)
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/core/gcm_climate.py:108: in process_gcm_data
ts_tmp_sel = temp.sel(time=slice(*year_range))
anaconda3/envs/oggm_env/lib/python3.6/site-packages/xarray/core/dataarray.py:1047: in sel
**indexers_kwargs
anaconda3/envs/oggm_env/lib/python3.6/site-packages/xarray/core/dataset.py:2000: in sel
self, indexers=indexers, method=method, tolerance=tolerance
anaconda3/envs/oggm_env/lib/python3.6/site-packages/xarray/core/coordinates.py:392: in remap_label_indexers
obj, v_indexers, method=method, tolerance=tolerance
anaconda3/envs/oggm_env/lib/python3.6/site-packages/xarray/core/indexing.py:261: in remap_label_indexers
idxr, new_idx = convert_label_indexer(index, label, dim, method, tolerance)
anaconda3/envs/oggm_env/lib/python3.6/site-packages/xarray/core/indexing.py:125: in convert_label_indexer
_sanitize_slice_element(label.step),
anaconda3/envs/oggm_env/lib/python3.6/site-packages/pandas/core/indexes/base.py:5034: in slice_indexer
start_slice, end_slice = self.slice_locs(start, end, step=step, kind=kind)
anaconda3/envs/oggm_env/lib/python3.6/site-packages/pandas/core/indexes/base.py:5248: in slice_locs
start_slice = self.get_slice_bound(start, "left", kind)
anaconda3/envs/oggm_env/lib/python3.6/site-packages/pandas/core/indexes/base.py:5160: in get_slice_bound
label = self._maybe_cast_slice_bound(label, side, kind)
anaconda3/envs/oggm_env/lib/python3.6/site-packages/xarray/coding/cftimeindex.py:338: in _maybe_cast_slice_bound
parsed, resolution = _parse_iso8601_with_reso(self.date_type, label)
anaconda3/envs/oggm_env/lib/python3.6/site-packages/xarray/coding/cftimeindex.py:116: in _parse_iso8601_with_reso
return default.replace(**replace), resolution


???
E ValueError: Replacing the dayofyr or dayofwk of a datetime is not supported.

cftime/_cftime.pyx:1239: ValueError
------------------------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------------------
2019-11-13 14:57:43: oggm.cfg: Using configuration file: /home/wilhelm/anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/params.cfg
2019-11-13 14:57:43: oggm.core.gis: (RGI50-11.00897) define_glacier_region
2019-11-13 14:57:43: oggm.core.climate: (RGI50-11.00897) process_cru_data
2019-11-13 14:57:45: oggm.core.gcm_climate: (RGI50-11.00897) process_cesm_data
2019-11-13 14:57:46: oggm.core.gcm_climate: (RGI50-11.00897) process_gcm_data
2019-11-13 14:57:46: oggm.core.gcm_climate: ValueError occurred during task process_gcm_data on RGI50-11.00897: Replacing the dayofyr or dayofwk of a datetime is not supported.
2019-11-13 14:57:46: oggm.core.gcm_climate: ValueError occurred during task process_cesm_data on RGI50-11.00897: Replacing the dayofyr or dayofwk of a datetime is not supported.
============================================================================================= warnings summary =============================================================================================
anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325
anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325
anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325
anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325
anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325
anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325
anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325
/home/wilhelm/anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325: PytestUnknownMarkWarning: Unknown pytest.mark.test_env - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
PytestUnknownMarkWarning,

anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325
/home/wilhelm/anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325: PytestUnknownMarkWarning: Unknown pytest.mark.internet - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
PytestUnknownMarkWarning,

anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325
anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325
/home/wilhelm/anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325: PytestUnknownMarkWarning: Unknown pytest.mark.graphic - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
PytestUnknownMarkWarning,

anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325
anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325
/home/wilhelm/anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325: PytestUnknownMarkWarning: Unknown pytest.mark.mpl_image_compare - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
PytestUnknownMarkWarning,

Wilhelm Furian, [13.11.19 15:02]
anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325
anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325
anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325
anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325
/home/wilhelm/anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
PytestUnknownMarkWarning,

anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325
/home/wilhelm/anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325: PytestUnknownMarkWarning: Unknown pytest.mark.download - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
PytestUnknownMarkWarning,

anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325
/home/wilhelm/anaconda3/envs/oggm_env/lib/python3.6/site-packages/_pytest/mark/structures.py:325: PytestUnknownMarkWarning: Unknown pytest.mark.creds - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
PytestUnknownMarkWarning,

anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_benchmarks.py::TestCoxeGlacier::test_set_width
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_graphics.py::test_coxe
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_models.py::TestOtherGlacier::test_define_divides
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_models.py::TestIdealisedInversion::test_inversion_and_run
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_models.py::TestIdealisedInversion::test_inversion_noisy
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_models.py::TestIdealisedInversion::test_inversion_noisy_sf_adhikari
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_models.py::TestIdealisedInversion::test_inversion_non_equilibrium
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_models.py::TestIdealisedInversion::test_inversion_parabolic
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_models.py::TestIdealisedInversion::test_inversion_parabolic_sf_adhikari
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_models.py::TestIdealisedInversion::test_inversion_parabolic_sf_huss
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_models.py::TestIdealisedInversion::test_inversion_tributary
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_models.py::TestIdealisedInversion::test_inversion_tributary_sf_adhikari
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_models.py::TestIdealisedInversion::test_inversion_vertical
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestGIS::test_define_region
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestGIS::test_define_region
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestGIS::test_dx_methods
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestGIS::test_dx_methods
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestGIS::test_dx_methods
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestGIS::test_glacier_masks
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestGIS::test_glacier_masks_other_glacier
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestGIS::test_glacierdir
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestGIS::test_intersects

anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestGIS::test_repr
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestGIS::test_simple_glacier_masks
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestCenterlines::test_centerlines
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestCenterlines::test_downstream
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestCenterlines::test_downstream_bedshape
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestGeometry::test_catchment_area
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestGeometry::test_flowlines
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestGeometry::test_geom_width
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestGeometry::test_nodivides_correct_slope
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestGeometry::test_width
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestClimate::test_automated_workflow
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestClimate::test_automated_workflow
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestClimate::test_distribute_climate
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestClimate::test_distribute_climate_cru
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestClimate::test_distribute_climate_cru
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestClimate::test_distribute_climate_dummy
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestClimate::test_distribute_climate_dummy
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestClimate::test_distribute_climate_grad
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestClimate::test_distribute_climate_histalp_new
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestClimate::test_distribute_climate_histalp_new
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestClimate::test_distribute_climate_parallel
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestClimate::test_find_tstars
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestClimate::test_local_t_star
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestClimate::test_local_t_star_fallback
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestClimate::test_mb_climate
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestClimate::test_mu_candidates
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestClimate::test_sh
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestClimate::test_sh
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestClimate::test_yearly_mb_climate
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestFilterNegFlux::test_and_compare_two_methods
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestFilterNegFlux::test_correct
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestFilterNegFlux::test_filter
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestInversion::test_continue_on_error
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestInversion::test_distribute
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestInversion::test_invert_hef

anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestInversion::test_invert_hef_from_linear_mb
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestCoxeCalvingInvert::test_inversion_with_calving
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestGCMClimate::test_compile_climate_input
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestGCMClimate::test_process_cesm
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestGCMClimate::test_process_cmip5
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestGCMClimate::test_process_cmip5_scale
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestIdealizedGdir::test_invert
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestCatching::test_pipe_log
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestCatching::test_task_status
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_basedir_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_basedir_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_basedir_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_basedir_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_basedir_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_basedir_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_basedir_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_basedir_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_basedir_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_basedir_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_basedir_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_basedir_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_basedir_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_basedir_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_basedir_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_basedir_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_basedir_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_basedir_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_basedir_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_basedir_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar

anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_new_dir
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_new_dir
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_new_dir
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_new_dir
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_new_dir
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_new_dir
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_new_dir
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_new_dir
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_new_dir
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_new_dir
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_new_dir
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_new_dir
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_new_dir
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_new_dir
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_new_dir
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_new_dir
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_new_dir

anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_new_dir
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_new_dir
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_new_dir
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_string
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_string
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_string
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_string
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_string
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_string
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_string
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_string
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_string
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_string
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_string
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_string
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_string
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_string
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_string
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_string
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_string
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_string
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_string
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestStartFromTar::test_to_and_from_tar_string
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_utils.py::TestSkyIsFalling::test_projplot
/home/wilhelm/anaconda3/envs/oggm_env/lib/python3.6/site-packages/pyproj/crs.py:122: DeprecationWarning: '+init=:' syntax is deprecated. ':' is the preferred initialization method.
DeprecationWarning,

anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestClimate::test_find_tstars
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestClimate::test_local_t_star
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestClimate::test_local_t_star_fallback
anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestClimate::test_mu_candidates
/home/wilhelm/anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/core/climate.py:803: DeprecationWarning: The task glacier_mu_candidates is deprecated. It should only be used for testing.
'only be used for testing.', DeprecationWarning)

anaconda3/envs/oggm_env/lib/python3.6/site-packages/oggm/tests/test_prepro.py::TestGCMClimate::test_process_cmip5_scale
/home/wilhelm/anaconda3/envs/oggm_env/lib/python3.6/site-packages/xarray/core/dataarray.py:2727: FutureWarning: roll_coords will be set to False in the future. Explicitly set roll_coords to silence warning.
shifts=shifts, roll_coords=roll_coords, **shifts_kwargs

-- Docs: https://docs.pytest.org/en/latest/warnings.html

@fmaussion
Copy link
Member

Thanks for the report - the two failing tests seem to be related to the same issue (a problem in cftime) which might be due to an update in an upstream package (here cftime) that we have to solve in OGGM.

In the meantime, you can safely ignore this problem since all other tests pass correctly

@TimoRoth
Copy link
Member

This is an issue in xarray, and it was already fixed there: pydata/xarray#3430
But no release has been made since it was merged, so at the moment, one either has to downgrade cftime back to <1.0.4, or install xarray from git master.

@WFurian
Copy link
Author

WFurian commented Nov 19, 2019

Thanks a lot, @TimoRoth , downgrading cftime seems to have fixed it - there are no more errors in the pytest-routine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants