Skip to content

Commit

Permalink
#23: Update stratum and soil rasters with GI information
Browse files Browse the repository at this point in the history
  • Loading branch information
selimnairb committed Jun 5, 2016
1 parent 1c51614 commit 20decfc
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions rhessysworkflows/command/giconverter.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,11 +282,15 @@ def run(self, *args, **kwargs):
# Update landuse raster
self._update_raster(self.grassMetadata['landuse_rast'], gi_scenario_landuse_data_key)

# TODO: Backup stratum raster
# TODO: Update stratum raster

# TODO: Backup soils raster
# TODO: Update soils raster
# Backup stratum raster
self._backup_raster(self.grassMetadata['stratum_rast'])
# Update stratum raster
self._update_raster(self.grassMetadata['stratum_rast'], gi_scenario_strata)

# Backup soils raster
self._backup_raster(self.grassMetadata['soil_rast'])
# Update soils raster
self._update_raster(self.grassMetadata['soil_rast'], gi_scenario_soils_data_key)

# Write metadata
RHESSysMetadata.writeGRASSEntry(self.context, "{0}_rast".format(gi_scenario_landuse_data_key),
Expand Down

0 comments on commit 20decfc

Please sign in to comment.