Conversation
The test was failing the integration check on jenkins. Create fake .tif.gz file, execute test, delate.tif.gz file.
|
🙌 |
|
Thanks, looks quite good, but the test failed on my computer.
pattern = f"{sat_name}{year}.v4c_web.stable_lights.avg_vis."`
img = f"{pattern}.tif.gz"
pfile = f"{pattern}.p" |
|
Hi Emanuel, thanks for the suggestions! I might have an idea of why this happens.
Second point is that 2) is executed only if 1) is not, meaning that if in the folder there are both a To solve this I would suggest two things:
using |
|
Hi @NicolasColombi Great analysis, many thanks! But yes, you are right, there is a file |
|
Let's continue the discussion in the new PR #718 |
Changes proposed in this PR:
.tif.gzfile with a mock.tifimage in it to run the test:climada/test/test_nightlight/test_load_nighlight_noaa, after the test is executed, the image is automatically delated.This PR fixes
load_nightlight_noaaPR Author Checklist
develop)PR Reviewer Checklist