ec-jrc / lisflood-lisvap

Lisflood OS (LISVAP)
https://ec-jrc.github.io/lisflood-lisvap/
European Union Public License 1.2
8 stars 6 forks source link

Evaluate how costly is to remove PCRaster dependency #8

Closed domeniconappo closed 4 years ago

domeniconappo commented 5 years ago

related sub task: #7

domeniconappo commented 5 years ago

In case of LISVAP, PCRaster is not strictly needed. So to remove this (huge) dependency we need to:

  1. port all array operations from pcraster to numpy
  2. Implement a simple framework to run the model (similar to PCRaster DynamiModelFramework)
  3. Remove all code where it reads a PCRaster map (we are 100% netcdf now) or, to keep the ability to read pcraster, just use a GDAL wrapper similar to this: https://github.com/ec-jrc/lisflood-utilities/blob/master/pcr2nc/pcr2nc/reader.py