[GRASS-dev] [GRASS GIS] #3788: Bug for flag `-n` in r.lake.series

GRASS GIS trac at osgeo.org
Sun Apr 28 04:29:56 PDT 2019


#3788: Bug for flag `-n` in r.lake.series
-------------------------------+---------------------------
  Reporter:  Nikos Alexandris  |      Owner:  grass-dev@…
      Type:  defect            |     Status:  closed
  Priority:  normal            |  Milestone:
 Component:  Addons            |    Version:  unspecified
Resolution:  fixed             |   Keywords:  r.lake.series
       CPU:  Unspecified       |   Platform:  Unspecified
-------------------------------+---------------------------

Comment (by Nikos Alexandris):

 I admit, I had seen two other "weird" lines in the script:
 {{{
 if 'n' in flags:
     flags += 'n'
 }}}

 but due to work overload lately, I forgot to fix'em.
 After https://trac.osgeo.org/grass/changeset/74431, the module works for
 me, from inside the `nc_basic_spm_grass7` Location:
 {{{
 r.lake.series elevation=elevation_int output=r.lake.series.output
 start_water_level=150 end_water_level=
 156 water_level_step=1 coordinates=637500.000000,221750.000000 --o
 }}}

 produces the following valid raster maps
 {{{
 r.lake.series.output_150.0
 r.lake.series.output_151.0
 r.lake.series.output_152.0
 r.lake.series.output_153.0
 r.lake.series.output_154.0
 r.lake.series.output_155.0
 r.lake.series.output_156.0
 }}}

 Try again please.

 ps1- It seems that `t.list strds` is broken here. Will verify.

 ps2- This is why automatic tests are a necessity to run after each and
 every commit.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3788#comment:4>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list