Skip to content

Commit

Permalink
Update temp bias files
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaussion committed Mar 31, 2023
1 parent 5601806 commit 0fb81ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions oggm/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ def secure_url_retrieve(url, *args, **kwargs):
'no_match/RGI62/b_040/{}/RGI60-15/RGI60-15.13.tar')

assert ('github' in url or
'cluster.klima.uni-bremen.de/~oggm/ref_mb_params/' in url or
'cluster.klima.uni-bremen.de/~oggm/test_gdirs/' in url or
'cluster.klima.uni-bremen.de/~oggm/demo_gdirs/' in url or
'cluster.klima.uni-bremen.de/~oggm/test_climate/' in url or
Expand Down
6 changes: 4 additions & 2 deletions oggm/utils/_downloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -1372,8 +1372,10 @@ def get_temp_bias_dataframe(dataset='w5e5'):
raise NotImplementedError(f'No such dataset available yet: {dataset}')

# fetch the file online
base_url = ('https://cluster.klima.uni-bremen.de/~oggm/test_files/'
'w5e5_temp_bias_v2023.3.csv')
base_url = ('https://cluster.klima.uni-bremen.de/~oggm/ref_mb_params/oggm_v1.6/'
'w5e5_temp_bias_v2023.4.csv')


file_path = file_downloader(base_url)

# Did we open it yet?
Expand Down

0 comments on commit 0fb81ab

Please sign in to comment.