Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
533 commits
Select commit Hold shift + click to select a range
a551c64
make download_ftp verbose with exceptions
Jul 17, 2020
26ef3c7
PEP8
Jul 17, 2020
c056a1e
TropCyclone: piecewise linear radius estimation
Jul 17, 2020
0d450e0
Merge origin/develop into feature/tctracks_bufr
mmyrte Jul 21, 2020
d219650
remove close_files option
mmyrte Jul 21, 2020
d3e9982
hazard.base: init set_frequency as method of Hazard (previously LowFl…
sameberenz Jul 21, 2020
0297bab
TCForecast: readability, metadata, env pressure
mmyrte Jul 21, 2020
f023e79
Merge branch 'feature/tctracks_bufr' into develop
mmyrte Jul 21, 2020
3db1b1d
util.points_to_raster: default float can't be None
Jul 15, 2020
44e63b4
TCTracks, TropCyclone: pylint high and medium
Jul 15, 2020
e30c3c4
autopep8 E2 (whitespaces)
Jul 15, 2020
8decfa2
autopep8 E502 (escape of newline)
Jul 15, 2020
e28bf7c
Replace np.logical_* by binary operators
Jul 15, 2020
e331771
TropCyclone: fix most pylint warnings
Jul 15, 2020
d7fe4a2
pylint: solve almost all errors
Jul 15, 2020
dc81293
ImpactFunc: fix unit tests re imp_mat
Jul 16, 2020
923fff8
pylint: bad-continuation in climada.util
Jul 16, 2020
34a9873
pylint: bad-continuation in climada.test
Jul 16, 2020
d52d799
pylint: bad-continuation in climada.engine
Jul 16, 2020
fefe831
pylint: bad-continuation in climada.entity
Jul 16, 2020
c8bfee4
pylint: bad-continuation in climada.hazard
Jul 16, 2020
7dd6373
pylint: remaining bad-continuation
Jul 17, 2020
e8336e6
pylint: ignore import of google earth engine api, fix #45
Jul 20, 2020
7d9e3b2
pylint: remove unused variables
Jul 21, 2020
5095002
pylint: use format strings in logging functions
Jul 21, 2020
c0a48b9
set_from_single_run: fix wrong computation of values for irr=combined
sameberenz Jul 22, 2020
019725e
LowFlow: expand tag.description adding info on reference model run us…
sameberenz Jul 22, 2020
7e1c51f
cropyield_isimip: merge commit with remote style changes
sameberenz Jul 22, 2020
98e99cb
pylint: tc_tracks
Jul 22, 2020
c43e73e
gitignore: update data directory ignore list
sameberenz Jul 22, 2020
3495fcb
tc_rainfield: use frequency_from_tracks from TropCyclone
Jul 22, 2020
0fcf2dc
Merge branch 'develop' into feature/isimip_crop
sameberenz Jul 23, 2020
07606a3
LowFlow hazard creation: make more memory efficient + apply mask_thre…
sameberenz Jul 24, 2020
22dc5db
Update git docs including pull requests
ChrisFairless Jul 24, 2020
a547136
low_flow: Test events_from_clusters including intensity computaion
sameberenz Jul 24, 2020
89eb64f
low_flow: 2nd test events_from_clusters
sameberenz Jul 24, 2020
97c7550
low_flow: change event date to date of maximum intensity instead of s…
sameberenz Jul 24, 2020
157ba72
Merge branch 'develop' into feature/isimip_lowflow
sameberenz Jul 24, 2020
3f88176
Merge branch 'develop' into feature/isimip_crop
sameberenz Jul 24, 2020
f948e22
CropyieldIsimip: fix typo in filename
sameberenz Jul 29, 2020
a3dc49b
Replace nan values by 0 in crop_potential hazard.
carmensteinmann Jul 29, 2020
62e9b8b
update tc related modules
aleeciu Jul 29, 2020
112cc67
LowFlow hazard: introduce loops to optimize memory usage
sameberenz Jul 29, 2020
173f3ec
LowFlow test: fix module name
sameberenz Jul 29, 2020
f21fede
Change crop_potential hazard intensity definition to match condition …
carmensteinmann Jul 30, 2020
bea054a
Rename crop_potential hazard as relative_cropyield and cropyield_isim…
carmensteinmann Jul 30, 2020
71364c2
TCTracks: new subset method
mmyrte Jul 30, 2020
7909deb
Merge branch 'feature/tc_subset' into develop
mmyrte Jul 30, 2020
c6ecb03
TCTracks: new extent property
mmyrte Jul 30, 2020
a65301e
TCTracks.subset: remove unused argument
mmyrte Jul 30, 2020
0310c01
TCForecast: fix linter errors
mmyrte Jul 30, 2020
7adfed8
Revert "TCTracks: new extent property"
mmyrte Jul 31, 2020
8941056
TCTracks: reintroduce extent property
mmyrte Jul 31, 2020
4cc7068
TCTracks.plot: avoid duplicate extent logic
mmyrte Jul 31, 2020
fe26d1f
tc_tracks_synth: fix docstring
mmyrte Jul 31, 2020
5c4bd97
TCForecast test: linter errors
mmyrte Jul 31, 2020
ccc5671
TCForecast.fetch_ecmwf: reintroduce files arg
mmyrte Jul 31, 2020
ba05f5d
TCForecast.fetch_bufr_ftp: add remote_dir override
mmyrte Jul 31, 2020
c2b6cb9
lowflow.py: clean up code and docstrings
sameberenz Jul 31, 2020
5293962
Merge branch 'develop' into feature/isimip_lowflow
sameberenz Jul 31, 2020
17929dc
Merge branch 'develop' into feature/isimip_crop
sameberenz Jul 31, 2020
7f44400
calc_random_walk: mutate TCTracks in-place
mmyrte Jul 31, 2020
b1e9f5a
Merge pull request #47 from CLIMADA-project/feature/tc_extent
mmyrte Jul 31, 2020
0fe03d8
crop_production and relative_cropyield: clean up, pylint, and docstrings
sameberenz Jul 31, 2020
56904b7
Merge branch 'develop' into feature/isimip_crop
sameberenz Jul 31, 2020
00e501b
Merge branch 'develop' into feature/isimip_lowflow
sameberenz Jul 31, 2020
87339a3
set_rel_yield_to_int: remove manual setting of intensity min and max …
sameberenz Aug 3, 2020
f114734
tutorial: init isimip_crop tutorial
sameberenz Aug 3, 2020
ba16d2e
tutorial: clean up crop tutorial
sameberenz Aug 4, 2020
c6705d1
tutorial: clean up crop tutorial 2
sameberenz Aug 4, 2020
67b66f8
tutorial: clean up crop tutorial 3
sameberenz Aug 4, 2020
7c9c6ea
tutorial: clean up crop tutorial 4
sameberenz Aug 4, 2020
d12023d
climada.hazard.emulator: implementation and tutorial
Aug 4, 2020
14905ef
climada.hazard.emulator: pylint warnings
Aug 4, 2020
f188f48
low_flow.py: make method _intensity_one_cluster non-static, hand over…
sameberenz Aug 5, 2020
ad340de
Simplify creation of country_list in crop_production exposure.
carmensteinmann Aug 6, 2020
248b8f0
Define default input parameter for optional returns in relative_cropy…
carmensteinmann Aug 6, 2020
a88c65c
Replace 'returns' by 'return_data' in crop_production exposure
carmensteinmann Aug 6, 2020
94e53ca
Define 'value_tonnes' within set_to_USD method in crop_production exp…
carmensteinmann Aug 6, 2020
55984bd
Add integration test to agricultural drought (cropyield) module
carmensteinmann Aug 6, 2020
a1ca661
Centroids.select: add extent parameter
mmyrte Aug 6, 2020
d81e1f6
test with nan in exposure
sameberenz Aug 6, 2020
a12db24
Centroids.select: increase elegance
mmyrte Aug 6, 2020
4c2a710
Merge pull request #49 from CLIMADA-project/feature/centroid_clip
mmyrte Aug 6, 2020
9c46ab0
separate function to make low flow hazards
Aug 6, 2020
a876923
climada.hazard.emulator: update tutorial
Aug 5, 2020
0610410
crop_production: fix bug in normalize_with_fao_cp and update tests an…
sameberenz Aug 7, 2020
dbc45db
Merge branch 'develop' into feature/isimip_crop
sameberenz Aug 7, 2020
0a951e9
Merge branch 'develop' into feature/isimip_lowflow
sameberenz Aug 7, 2020
a2ac57c
Add all attributes to normalized crop_production exposure
carmensteinmann Aug 7, 2020
23844bd
Merge branch 'develop' into feature/emulator
Aug 11, 2020
e4abc51
HazEmulator: add unit tests
Aug 11, 2020
84ec1d0
Merge branch 'feature/emulator' into develop
Aug 12, 2020
3298f9a
Add comment on method set_mean_of_several_models in crop_production e…
carmensteinmann Aug 12, 2020
a4ef0de
Replace enumerate calls by plain loops in crop_production exposure
carmensteinmann Aug 12, 2020
1638afe
Update tests_runner.py script
Aug 12, 2020
32b79e9
remove setup_envir from config
Aug 13, 2020
bed14ae
pylint: unused imports and empty lines
Aug 13, 2020
b761682
sphinx doc: include new modules
Aug 13, 2020
df27607
Add link to coding_convention.rst comments
ThomasRoosli Aug 14, 2020
b2c083e
Add Fix-branches convention to gitflow.rst
chahank Aug 14, 2020
7485fb3
Rename climada.util.coordinates as coord in crop_production exposure
carmensteinmann Aug 19, 2020
ddc33a5
Simplify if query in set_to_USD method in crop_production exposure
carmensteinmann Aug 19, 2020
dc5d038
Simplify copying input exposure in normalize_with_fao_cp method in cr…
carmensteinmann Aug 19, 2020
7ca4f3e
Add comment on negative intensity in relative_cropyield impact function
carmensteinmann Aug 19, 2020
aefc869
Update geopandas to 0.6.1
Aug 19, 2020
28ec037
Bugfix in historical mean calculation in relative_cropyield hazard
carmensteinmann Aug 19, 2020
6834386
Rename variable in crop_production exposure
carmensteinmann Aug 20, 2020
5a60bb0
Correct docstring of normalize_several_exp method in crop_production …
carmensteinmann Aug 20, 2020
49c11bd
Change variable name in plot_time_series method in relative_cropyield…
carmensteinmann Aug 20, 2020
ab53648
Change variable names in init_full_hazard_set method of relative_crop…
carmensteinmann Aug 20, 2020
be99ac6
Replace enumerate calls by plain loops in init_full_hazard_set functi…
carmensteinmann Aug 20, 2020
0d81775
Replace hard coded indexes by multiple assignment in init_full_hazard…
carmensteinmann Aug 21, 2020
62208c9
Replace hard coded indexes by multiple assignment in init_full_hazard…
carmensteinmann Aug 21, 2020
cafe45e
Bug fix in normalize_several_exp function in crop_production exposure
carmensteinmann Aug 23, 2020
af4e314
Add clm agricultural model to AG_MODEL list in relative_cropyield hazard
carmensteinmann Aug 23, 2020
11244dd
Add option to read ISIMIP2a files with set_from_single_run method in …
carmensteinmann Aug 23, 2020
2097069
Add unit test for set_percentile_to_int method in relative_cropyield …
carmensteinmann Aug 24, 2020
34679eb
TCTracks: Fix selection by basin
Aug 24, 2020
56057c6
test_LitPop: fix integration test failures
Aug 24, 2020
f91b30f
Exposure.write_hdf5: convert geometry dtype to object, fix #52
Aug 24, 2020
245192b
Upgrade pillow to 7.1.0
Aug 24, 2020
fd44836
Centroids: enable inclusion of dist_coast in NATEARTH_CENTROIDS
mmyrte Aug 25, 2020
19921bb
Impact: pass reference to exposures used
mmyrte Aug 25, 2020
0f21081
Impact: add rasterize and write_netcdf methods
mmyrte Aug 25, 2020
31d4d79
Coordinates.dist_to_coast_nasa: add intermediate shape parameter
mmyrte Aug 25, 2020
a05b82e
Impact.write_netcdf: add test
mmyrte Aug 25, 2020
e73c88a
TCForecast: convert Pa to mb, refactor
mmyrte Aug 25, 2020
a626167
TCForecast: fix test / switched to string based storm categories
mmyrte Aug 25, 2020
f95a6cc
Hazard: fix plots crossing antimeridian
Aug 25, 2020
0e7f75b
Centroids.set_dist_coast: Optionally use (signed) NASA dists
Aug 25, 2020
ee76e32
TCTracks.bounds: Use latlon_bounds utility function
Aug 25, 2020
4f0dbd2
read_raster_sample: docstring
Aug 25, 2020
7046a1b
TCForecast: flip logic to appease linter
mmyrte Aug 26, 2020
95c5065
Merge develop into feature/centroids_dist2coast
mmyrte Aug 26, 2020
efaae1f
apply tovogt's suggestions to PR #53
mmyrte Aug 26, 2020
a49ad20
Merge pull request #53 from CLIMADA-project/feature/centroids_dist2coast
tovogt Aug 26, 2020
546a38d
Merge develop into feature/impact_netcdf
mmyrte Aug 27, 2020
6e95782
Impact.to_rasterized_dataarray (PR #54)
mmyrte Aug 27, 2020
2461259
open intensity list in loop to reduce memory usage
Aug 31, 2020
5d16ed4
Centroids.from_geodataframe: new method incl. test
mmyrte Aug 31, 2020
de9d445
Merge feature/impact_netcdf into feature/centroids_from_gdf
mmyrte Aug 31, 2020
efe39b4
Merge branch 'develop' into develop
aleeciu Sep 1, 2020
d685164
Revert "Merge branch 'develop' into develop"
Sep 1, 2020
d421b0d
Revert "Merge feature/impact_netcdf into feature/centroids_from_gdf"
mmyrte Sep 2, 2020
21e1a9c
Centroids.from_geodataframe: simplify logic
mmyrte Sep 2, 2020
bb172bd
tutorial: apply changes as suggested by chahank in https://github.com…
sameberenz Sep 2, 2020
fe4bcd3
tutorial: clean up summary text
sameberenz Sep 2, 2020
fbf599b
Centroids.from_geodataframe: add test cases
mmyrte Sep 3, 2020
247c410
Merge pull request #55 from CLIMADA-project/feature/centroids_from_gdf
mmyrte Sep 3, 2020
96e35fd
TCForecast.fetch_bufr_ftp: filter folders for figures
mmyrte Sep 3, 2020
32709c6
Add reviewer checklist to the guides
chahank Sep 4, 2020
b42151f
Add reviewer checklist to the guides
chahank Sep 4, 2020
8c658a1
Delete Reviewer_Checklist.md
chahank Sep 4, 2020
d3aa3a0
Centroids.from_geodataframe: @emanuel-schmid, PR #55
mmyrte Sep 4, 2020
0564286
TCForecast: Adapt to API/ftp source changes
mmyrte Sep 5, 2020
6986a45
TCForecast: add tqdm details, squash bug
mmyrte Sep 5, 2020
2155a16
TCForecast: tqdm fix
mmyrte Sep 5, 2020
fc0848e
Update Reviewer_Checklist.md
chahank Sep 7, 2020
8b4c926
Merge branch 'develop' into feature/isimip_lowflow
sameberenz Sep 7, 2020
e6a61d2
Add comment on default bbox
carmensteinmann Sep 1, 2020
9b2854e
Replace hard coded indexes of bbox in relative_cropyield hazard and c…
carmensteinmann Sep 1, 2020
7aaebd1
Replace hard coded indexes by multiple assignment in crop_production …
carmensteinmann Sep 1, 2020
3917363
Remove trailing white spaces and the like in crop_production exposure
carmensteinmann Sep 1, 2020
1003b2c
Split init_full_hazard_set function into several functions and add po…
carmensteinmann Sep 7, 2020
f2db0f4
Rename yearrange as yearrange_mean in calc_mean method in relative_cr…
carmensteinmann Sep 7, 2020
f5374ab
Centroids.from_geodataframe: force to_numpy to copy data
mmyrte Sep 7, 2020
8568a4a
remove large test file h08_gfdl-esm2m_ewembi_historical_histsoc_co2_d…
sameberenz Sep 7, 2020
0fe353b
low_flow.py: pylint and docstring clean up
sameberenz Sep 7, 2020
5332869
Initiate hazard_matrix as sparse matric in set_rel_yield_to_int metho…
carmensteinmann Sep 7, 2020
29e2cb1
Move isimip file properties from global variables to method docstring…
carmensteinmann Sep 7, 2020
80fd23c
Update install_cluster.rst
simonameiler Sep 7, 2020
e03988c
Define crop in set_from_single_run method of relative_cropyield hazard
carmensteinmann Sep 9, 2020
1d89df0
Undo change in matrix initiation in set_rel_yield_to_int in relative_…
carmensteinmann Sep 9, 2020
837a7f3
low_flow.py: clean up default variables
sameberenz Sep 9, 2020
12bffc1
Add integration test for hist_mean creation from several hazard files…
carmensteinmann Sep 9, 2020
d66cf1e
Remove bad indentation in relative_cropyield hazard
carmensteinmann Sep 9, 2020
7189fd8
climada_hazard_entity_Crop.ipynb: update method name generate_full_ha…
sameberenz Sep 9, 2020
055fa81
Merge branch 'develop' into feature/isimip_crop
sameberenz Sep 9, 2020
9f1bff9
TCForecast: prettier tqdm
mmyrte Sep 9, 2020
9ec91cf
Merge branch 'develop' into feature/isimip_lowflow
sameberenz Sep 9, 2020
f488394
Centroids.from_geodataframe: implement PR #55 advice
mmyrte Sep 9, 2020
3111d1f
Add cfgrib to requirements (#57)
ThomasRoosli Sep 10, 2020
24d835e
tutorial/climada_hazard_entity_Crop: update summary and class descrip…
sameberenz Sep 10, 2020
85134a1
Requirements: replace matplotlib by matplotlib-base
Sep 10, 2020
7893178
CI: introduce notebook tests
Sep 10, 2020
30417c7
test_notebooks: change to the notebook directory before executing the…
Sep 11, 2020
2cd9ab4
Merge branch 'feature/notebook_tests' into develop
Sep 11, 2020
81114cd
Feature/notebook tests (#60)
emanuel-schmid Sep 11, 2020
97a93f1
'merged'
Sep 11, 2020
bfa918d
Merge branch 'develop' into feature/isimip_crop
sameberenz Sep 11, 2020
98c1557
Merge branch 'develop' into feature/isimip_lowflow
sameberenz Sep 11, 2020
a9d5df4
test_notebooks: run notebooks in alphabetical order
Sep 11, 2020
a2520d6
test_notebooks: exclude multiprocessing cells and cells known to fail
Sep 11, 2020
bf50c0c
test_notebooks: provide a namespace for the exection of cell code
Sep 11, 2020
2bd395e
Add class attributes to docstring of crop_production exposure
carmensteinmann Sep 10, 2020
8c86010
Replace '_,_,_' in multiple assignment by '*rest' in crop_production …
carmensteinmann Sep 10, 2020
9036b6b
Remove import of calc_fut_haz method in cropyield integration test (a…
carmensteinmann Sep 10, 2020
649c174
Rename 'value_tonnes' as 'tonnes_per_year' in crop_production exposure
carmensteinmann Sep 10, 2020
6343ba6
Correct docstrings in crop_production exposure
carmensteinmann Sep 10, 2020
95aaabd
Replace hard coded indexes by multiple assignment in init_full_exposu…
carmensteinmann Sep 10, 2020
a806d25
Improve readability of filename creation in init_full_exposure_set in…
carmensteinmann Sep 10, 2020
092a121
Add some explanatory comments in crop_production exposure
carmensteinmann Sep 11, 2020
3a4dd91
Add explanatory comments in crop_production exposure
carmensteinmann Sep 11, 2020
588ff36
Improve readability of multiple assignment in crop_production exposure
carmensteinmann Sep 11, 2020
2921e51
Add explanatory comments in crop_production exposure
carmensteinmann Sep 11, 2020
91e10f0
Add explanatory comments in relative_cropyield impact function
carmensteinmann Sep 13, 2020
5e35377
Add explanatory comments to crop_production exposure and relative_cro…
carmensteinmann Sep 13, 2020
54960f8
Merge pull request #50 from CLIMADA-project/feature/isimip_crop
carmensteinmann Sep 13, 2020
f73df43
replace FILENAME_NC with f'{x}' string format, https://github.com/CLI…
sameberenz Sep 14, 2020
d7d845b
low_flow.py: add YEARCHUNKS string init to f'{i+1}_{i+10}', https://g…
sameberenz Sep 14, 2020
136485c
low_flow.py: update doc strings and bbox as tuple instead of list
sameberenz Sep 14, 2020
afae905
low_flow.py: init lon_min etc from bbox within methods, https://githu…
sameberenz Sep 14, 2020
3c73956
low_flow.py: init intensity_list with list comperehension, https://gi…
sameberenz Sep 14, 2020
0b51d54
low_flow: init stp_range with list comprehension, https://github.com/…
sameberenz Sep 14, 2020
dafbc85
Merge branch 'develop' into feature/isimip_lowflow
sameberenz Sep 14, 2020
28e74e3
Merge feature/centroids_from_gdf into develop
mmyrte Sep 16, 2020
ccd2f31
Update git_flow.rst
chahank Sep 16, 2020
125abbb
low_flow.py: _intensity_loop(): fix bug of intensity_mat filled in wr…
sameberenz Sep 16, 2020
9da58f7
low_flow.py: make setting of self.tag more human readable, https://gi…
sameberenz Sep 16, 2020
a640d68
low_flow.py: _intensity_loop: correct doc string
sameberenz Sep 16, 2020
b01e46f
low_flow.py: rename var uni_ev to uniq_ev for more clarity
sameberenz Sep 16, 2020
b42330b
low_flow.py:
sameberenz Sep 16, 2020
c07ec19
low_flow.py: add notes to mark functions that might be candidates for…
sameberenz Sep 16, 2020
7c3376f
Replace 3 old demo files by smaller ones (#61)
tovogt Sep 18, 2020
3943600
TCTracks: Don't replace NaNs by -1 when estimating parameters (#63)
tovogt Sep 18, 2020
452a25b
low_flow: rename data_xarray to dis_xarray and data_df to lowflow_df …
sameberenz Sep 18, 2020
40073f5
lowflow: minor changes to docstrings and variable names as requested …
sameberenz Sep 18, 2020
704b242
lowflow: rename method make_climate_hazard to set_intensity_from_haza…
sameberenz Sep 18, 2020
98feb85
fix test (#66)
emanuel-schmid Sep 18, 2020
bf1ffb5
lowflow: filter_events: use orig instead of date, c.f. https://github…
sameberenz Sep 18, 2020
c378e73
Update git_flow.rst
sameberenz Sep 18, 2020
fd98f92
Merge branch 'develop' into feature/isimip_lowflow
sameberenz Sep 18, 2020
281812c
Merge pull request #59 from CLIMADA-project/feature/isimip_lowflow
sameberenz Sep 18, 2020
3db1c0e
Update Reviewer_Checklist.md
chahank Sep 18, 2020
5a6f7fa
Update coding_conventions.rst
emanuel-schmid Sep 18, 2020
7ddccd9
Merge branch 'develop' into main
Sep 18, 2020
6216786
Merge branch 'main' of github.com:CLIMADA-project/climada_python into…
Sep 18, 2020
baf8daf
Merge branch 'develop' into main
Sep 18, 2020
907fe43
doc: adapt to renamed modules
Sep 20, 2020
f14bd6b
Feature/fix rasterio read netcdf (#65)
emanuel-schmid Sep 21, 2020
f994df9
dependencies: fix erroneous setup.py
Sep 21, 2020
993e081
dependencies: fix erroneous setup.py
Sep 21, 2020
5834da4
util.coordinates: exchange np.float64 with n.array, so the data type …
Sep 21, 2020
7b97f33
climada.util.alpha_shape: removed from develop branch
Sep 21, 2020
3d57a9b
Merge branch 'release/1.5.0' into main
Sep 21, 2020
df954be
update version number
Sep 22, 2020
83c5767
Update setup.py for use as a library
msci-jordancrawford Jul 14, 2020
e45939b
Disallow major version change of h5py module
msci-jordancrawford Jan 25, 2021
40c0539
Pin dask version
msci-jordancrawford Jul 1, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 63 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Hidden Files
.*

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down Expand Up @@ -47,6 +50,18 @@ coverage.xml
*.cover
.hypothesis/

# Temporary data generated by unit tests
climada/engine/test/data/test.csv
climada/engine/test/data/test.xlsx
climada/engine/test/data/test_imp_mat.npz
climada/entity/impact_funcs/test/test_write.xlsx
climada/hazard/test/data/test_haz.h5
climada/hazard/test/data/tc_tracks_nc/*
climada/test/data/1988234N13299.nc
climada/test/data/exposure_high_47_8.h5
climada/test/data/test_write_hazard.tif
climada/util/test/data/save_test.pkl

# Translations
*.mo
*.pot
Expand Down Expand Up @@ -107,7 +122,55 @@ venv.bak/
# mac finder files
.DS_Store

# directory with input data for hazard emulator tutorial
data/emulator

# climada system data files
# they get downloaded separately from the repo
data/system/global_coast*
data/system/global_country*
data/system/tmp_elevation.tif

# climada system data files: Nightlight and population data
data/system/BlackMarble*tif
data/system/*stable_lights*.*
data/system/gpw_v4_population_count_rev11_2015_30_sec.tif

# climada system data files: IBTrACS data
data/system/IBTrACS.ALL.v04r00.nc
data/system/data_master_sl_short/

# climada system data files: SPEI data
data/system/spei06.nc

# climada system data files: World Bank data
data/system/OGHIST.xls
data/system/Wealth-Accounts_CSV/

# climada system data files: Credit Suisse Research institute data:
data/system/GDP2Asset_factors_CRI_2016

# climada system data files: SPAM data
data/system/cell5m_allockey_xy.csv
data/system/LicenseV*.pdf
data/system/readme_global_v3r2.txt
data/system/spam*csv

# climada system data files: GPW data
data/system/gpw-v*
data/system/gpw_v*.tif

# climada system data files: NASA distance to coast
data/system/GMT_intermediate_coast*

# climada system data files: folders for hazard and exposure data
data/system/hazard/
data/system/litpop/
data/system/litpop_2014/

# climada data: ISIMIP crop data folder:
data/ISIMIP_crop/

# climada data results folder:
data/results/

6 changes: 3 additions & 3 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# A comma-separated list of package or module names from where C extensions may
# be loaded. Extensions are loading into the active Python interpreter and may
# run arbitrary code
extension-pkg-whitelist=numpy,pathos
extension-pkg-whitelist=numpy,pathos,scipy

# Add files or directories to the blacklist. They should be base names, not
# paths.
Expand Down Expand Up @@ -130,7 +130,7 @@ contextmanager-decorators=contextlib.contextmanager
# List of members which are set dynamically and missed by pylint inference
# system, and so shouldn't trigger E1101 when accessed. Python regular
# expressions are accepted.
generated-members=numpy.*,pathos.*
generated-members=numpy.*,pathos.*,cartopy.*,scipy.*

# Tells whether missing members accessed in mixin class should be ignored. A
# mixin class is detected if its name ends with "mixin" (case insensitive).
Expand All @@ -153,7 +153,7 @@ ignored-classes=optparse.Values,thread._local,_thread._local
# (useful for modules/projects where namespaces are manipulated during runtime
# and thus existing member attributes cannot be deduced by static analysis. It
# supports qualified module names, as well as Unix pattern matching.
ignored-modules=numpy,pathos
ignored-modules=numpy,cartopy,scipy,pathos,xarray.ufuncs,netCDF4,matplotlib.cm

# Show a hint with possible names when a member name was not found. The aspect
# of finding the hint is based on edit distance.
Expand Down
3 changes: 3 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ Rachel Bungerer
Inga Sauer
Samuel Lüthi
Mannie Kam
Simona Meiler
Alessio Ciullo
Thomas Vogt
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ install_test : ## Test installation was successful
data_test : ## Test data APIs
python test_data_api.py

.PHONY : notebook_test
notebook_test : ## Test notebooks in doc/tutorial
python test_notebooks.py

.PHONY : integ_test
integ_test : ## Integration tests execution with xml reports
python -m coverage run --parallel-mode --concurrency=multiprocessing tests_runner.py integ
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](http://ied-wcr-jenkins.ethz.ch/buildStatus/icon?job=climada_ci)](http://ied-wcr-jenkins.ethz.ch/job/climada_ci/)
[![Build Status](http://ied-wcr-jenkins.ethz.ch/buildStatus/icon?job=climada_branches/develop)](http://ied-wcr-jenkins.ethz.ch/job/climada_branches/)
[![Documentation build status](https://img.shields.io/readthedocs/climada-python.svg?style=flat-square)](https://readthedocs.org/projects/climada-python/builds/)
![Jenkins Coverage](https://img.shields.io/jenkins/coverage/cobertura/http/ied-wcr-jenkins.ethz.ch/climada_ci_night.svg)

Expand Down Expand Up @@ -57,4 +57,4 @@ CLIMADA is free software: you can redistribute it and/or modify it under the ter

CLIMADA is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details:

https://github.com/CLIMADA-project/climada_python/blob/master/LICENSE
<https://www.gnu.org/licenses/lgpl.html>
3 changes: 1 addition & 2 deletions climada/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
climada init
"""

from .util.config import CONFIG, setup_conf_user, setup_logging, setup_environ
from .util.config import CONFIG, setup_conf_user, setup_logging
setup_conf_user()
setup_logging(CONFIG['global']['log_level'])
setup_environ()
2 changes: 1 addition & 1 deletion climada/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.4.0'
__version__ = '1.5.0'
5 changes: 0 additions & 5 deletions climada/conf/defaults.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
"config":
{
"env_name": "climada_env"
},

"local_data":
{
"save_dir": "./results/"
Expand Down
Loading