Feature/coverage nightlight by NicolasColombi · Pull Request #659 · CLIMADA-project/climada_python

added 2 commits

February 18, 2023 14:18
1) Add tests for functions:
       - load_nasa_nl_shape_single_tile
       - load_nightlight_noaa
       - untar_noaa_stable_nighlight
2) Add raises message if wrong layer is selected in function:
     load_nasa_nl_shape_single_tile
3 ) Add logger message in function: load_nasa_nl_shape_single_tile
4)  Correct test unzip_tif_to_py
5)  Apply uniform formatting across all tests of nightlight.py module
1) line too long
2 )use %s for logging instead of f-strings
Add small test for function load_gpw_pop_shape() situated in:
climada/entity/exposures/litpop/gpw_population.py
Add test for functions:

1) from_nightlight_intensity()
2) from_population()
Add test for function climada/entity/exposures/litpop/nightlight.py
get_required_nl_files()

remove unnecessary brackets from nightlight.py

@NicolasColombi

@NicolasColombi

@NicolasColombi

2 BM_FILES in local data folder downloaded with climada
but 5 BM_FILES on the system dir of jenkins

@NicolasColombi