-
-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Band references implementation #63
Merged
Merged
Conversation
This file contains 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
This fix copies the output file name to the correct variable, as in GRASS 6
This PR adds a sponsorship button to the repo, pointing to our moneypool.
add BandReader.find_filename() see OSGeo#10
G_find_raster -> G_find_raster2 (see OSGeo#3854)
use Vect_subst_var() where needed (fix for default connection containing "$MAP")
fix for default connection containing "$MAP" do not secretly convert user-defined column names to lower case
add band reference support in register, see OSGeo#8
`unicode` is no longer a valid keyword for `gettext.install()` in Python 3 but we need it on Python 2. This is in continuation of https://trac.osgeo.org/grass/changeset/74307 which was a fix for: https://trac.osgeo.org/grass/ticket/3790 Fixes https://trac.osgeo.org/grass/ticket/3838
Co-Authored-By: Markus Neteler <neteler@gmail.com>
neteler
reviewed
Aug 31, 2019
neteler
reviewed
Aug 31, 2019
Co-Authored-By: Markus Neteler <neteler@gmail.com>
Co-Authored-By: Markus Neteler <neteler@gmail.com>
neteler
changed the title
WIP Band references implementation
Band references implementation
Sep 2, 2019
This was referenced Sep 14, 2019
Closed
petrasovaa
pushed a commit
to petrasovaa/grass
that referenced
this pull request
Dec 3, 2019
Implements image collection support into GRASS GIS
Merged
neteler
added a commit
that referenced
this pull request
Mar 16, 2021
* TGRASS: remove bogus band references error msg In `t.register` it must be possible to provide custom band names such as "mask", "ndvi", "prec", "temperature", etc. as per band reference definition. Hence, the fatal error message `Error when registering strds: Unable to read band reference file` is incorrect. This PR removes this incorrect error message, originating from #63.
marisn
pushed a commit
to marisn/grass
that referenced
this pull request
Mar 22, 2021
* TGRASS: remove bogus band references error msg In `t.register` it must be possible to provide custom band names such as "mask", "ndvi", "prec", "temperature", etc. as per band reference definition. Hence, the fatal error message `Error when registering strds: Unable to read band reference file` is incorrect. This PR removes this incorrect error message, originating from OSGeo#63.
ninsbl
pushed a commit
to ninsbl/grass
that referenced
this pull request
Oct 26, 2022
* TGRASS: remove bogus band references error msg In `t.register` it must be possible to provide custom band names such as "mask", "ndvi", "prec", "temperature", etc. as per band reference definition. Hence, the fatal error message `Error when registering strds: Unable to read band reference file` is incorrect. This PR removes this incorrect error message, originating from OSGeo#63.
ninsbl
pushed a commit
to ninsbl/grass
that referenced
this pull request
Feb 17, 2023
* TGRASS: remove bogus band references error msg In `t.register` it must be possible to provide custom band names such as "mask", "ndvi", "prec", "temperature", etc. as per band reference definition. Hence, the fatal error message `Error when registering strds: Unable to read band reference file` is incorrect. This PR removes this incorrect error message, originating from OSGeo#63.
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.
This PR implements basic functionality related to image collections (https://developers.google.com/earth-engine/tutorial_api_04).
It's dedicated for testing, various improvements are still planned.
Development has been supported mundialis GmbH & Co.KG
How to test
1. Create GRASS location, download sample data
2. Create STRDS
3. Register maps from input file
3.a Create input file
(note that similar functionality is planned to be implemented in
i.sentinel.import
)Run PyGRASS script in order to create input file for
t.register
:Expected result:
Redirect output into file:
3.b Register sample raster data into STDS from input file
4. Quick band reference filtering tests
Commands like:
should process all raster maps registered in space time dataset.
Now let's try to set up band reference filter (first band only):
5. Metadata
Raster type:
STRDS type:
Known limits
r.info
does not print band reference info