GFDRR / thinkhazard

ThinkHazard!
http://thinkhazard.org/
GNU General Public License v3.0
33 stars 19 forks source link

Temporary overrides #892

Closed arnaud-morvan closed 4 years ago

arnaud-morvan commented 4 years ago

Temporary overrides to publish landslide as soon as possible.

tonio commented 4 years ago

Tests are failing due to crs check, and

  File "/home/travis/build/GFDRR/thinkhazard/thinkhazard/processing/harvesting.py", line 393, in harvest_layers
    self.harvest_layer(layer)
  File "/home/travis/build/GFDRR/thinkhazard/thinkhazard/processing/harvesting.py", line 582, in harvest_layer
    os.unlink(self.layer_path(layer))
OSError: [Errno 2] No such file or directory: '/tmp/hazardsets/test.tif'
arnaud-morvan commented 4 years ago

Yes, I made a little test data refactorization and added a test for bad crs.