r.learn.predict: write raster history#1695
Open
neteler wants to merge 1 commit into
Open
Conversation
Add to write out the raster history. Example: ```sh r.info rf_classification +----------------------------------------------------------------------------+ | Map: rf_classification Date: Fri May 15 18:20:39 2026 | | Mapset: mneteler Login of Creator: mneteler | | Project: ecad17_ll | | DataBase: /home/mneteler/grassdata | | Title: | | Timestamp: none | |----------------------------------------------------------------------------| | | | Type of Map: raster Number of Categories: 62 | | Data Type: CELL Semantic label: (none) | | Rows: 201 | | Columns: 464 | | Total Cells: 93264 | | Projection: Latitude-Longitude | | N: 75:30N S: 25:15N Res: 0:15 | | E: 75:30E W: 40:30W Res: 0:15 | | Range of data: min = 21 max = 62 | | | | Data Description: | | generated by ? | | | | Comments: | | r.learn.predict group=ecad_1981_2010 load_model=rf_classification_model | | .data output=rf_classification | | | +----------------------------------------------------------------------------+ ``` Question: How to fill "`Data Description:`"?
Contributor
|
Member
Author
Seems I don't find a single example of a Python script in which this (or similar code) is used. Any hints for best practice? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds writing out of the raster history.
Example:
Question: How to fill "
Data Description:"?