WFP-VAM / HRM

High Resolution Mapping of Food Security
https://wfp-vam.github.io/HRM/
MIT License
21 stars 6 forks source link

Fix NNExtractor and RasterGrid class interdependency #12

Closed pasquierjb closed 5 years ago

pasquierjb commented 6 years ago

NNExtractor needs GRID.download_images to be run previously otherwise GRID.image_dir=None

network = NNExtractor(id, sat, GRID.image_dir, network_model, step, GRID)

lorenzori commented 6 years ago

one way we could go around this is to create a dictionary that maps coordinates to grid points and write that to disk.

lorenzori commented 5 years ago

done with PR #27