Opened 16 years ago
Closed 9 years ago
#358 closed enhancement (fixed)
new flag for r.quantile to produce output compatible with r.recode
| Reported by: | dylan | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 6.4.0 |
| Component: | Raster | Version: | svn-develbranch6 |
| Keywords: | r.quantile | Cc: | |
| CPU: | All | Platform: | All |
Description
Small patch to re-format output from r.quantile. Default output looks like this
r.quantile in=beam_150 quantiles=5 0:20.000000:7440.040527 1:40.000000:7512.872559 2:60.000000:7611.160645 3:80.000000:7611.161133
Modified output:
r.quantile in=beam_150 quantiles=5 -r 6429.886230:7440.040527:1 7440.040527:7512.872559:2 7512.872559:7611.160645:3 7611.160645:7611.161133:4 7611.161133:7638.599121:5
Patch is attached.
Attachments (1)
Change History (3)
by , 16 years ago
| Attachment: | r.quantile-recode.patch added |
|---|
comment:1 by , 16 years ago
comment:2 by , 9 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Replying to dylan:
I've committed a modified version of this as r34219 (7.0). The behaviour is identical, but the resulting diff is a bit simpler.