Skip to content
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

t.rast.patch #51

Merged
merged 19 commits into from
Nov 21, 2019
Merged

t.rast.patch #51

merged 19 commits into from
Nov 21, 2019

Conversation

anikaweinmann
Copy link
Contributor

@anikaweinmann anikaweinmann commented Oct 29, 2019

This new addon module patches raster maps that have gaps in time with subsequent maps (within a space time raster dataset).

@neteler neteler requested a review from metzm October 29, 2019 11:26
anikaweinmann and others added 7 commits October 29, 2019 13:02
Co-Authored-By: Markus Neteler <neteler@gmail.com>
Co-Authored-By: Markus Neteler <neteler@gmail.com>
Co-Authored-By: Markus Neteler <neteler@gmail.com>
Co-Authored-By: Markus Neteler <neteler@gmail.com>
Co-Authored-By: Markus Neteler <neteler@gmail.com>
anikaweinmann and others added 2 commits October 29, 2019 13:33
Co-Authored-By: Markus Neteler <neteler@gmail.com>
Co-Authored-By: Markus Neteler <neteler@gmail.com>
#%option G_OPT_T_WHERE
#%end

#%option G_OPT_R_OUTPUTS
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r.patch produces a single raster map as output, thus G_OPT_R_OUTPUTS -> G_OPT_R_OUTPUT

extent = tgis.RelativeTemporalExtent(start_time=start_a, end_time=end_b,
unit=first_map.get_relative_time_unit())

for out_map in output.split(','):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

output of r.patch is a single raster map

<h2>EXAMPLE</h2>
The example uses the North Carolina extra time series of MODIS Land Surface Temperature
maps (<a href="https://grass.osgeo.org/download/sample-data/">download</a>).
(The mapset has to be unzip in NC location.)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The mapset has to be unzipped in one of the North Carolina locations

anikaweinmann and others added 5 commits November 21, 2019 15:23
Co-Authored-By: Markus Neteler <neteler@gmail.com>
Co-Authored-By: Markus Neteler <neteler@gmail.com>
Co-Authored-By: Markus Neteler <neteler@gmail.com>
Co-Authored-By: Markus Neteler <neteler@gmail.com>
Co-Authored-By: Markus Neteler <neteler@gmail.com>
@neteler neteler merged commit 7ce0b59 into OSGeo:master Nov 21, 2019
landam pushed a commit to landam/grass-addons that referenced this pull request Dec 10, 2020
This new addon module patches raster maps that have gaps in time with subsequent maps (within a space time raster dataset).
@neteler neteler added the new addon PR contains a new addon or issue proposes one label Dec 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new addon PR contains a new addon or issue proposes one
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants