Skip to content

Commit

Permalink
add pattern=regex example
Browse files Browse the repository at this point in the history
  • Loading branch information
neteler committed Apr 6, 2023
1 parent 630736c commit 552498b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/imagery/i.landsat/i.landsat.import/i.landsat.import.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,13 @@ <h3>Import Landsat data</h3>
i.landsat.import input=data pattern_file='229083_2019' pattern='B(4|5)'
</pre></div>

<p>
Limit import to optical, NIR, and QA_PIXEL using a regular rexpression (Landsat-8):

<div class="code"><pre>
i.landsat.import input=data pattern='(B(2|3|4|5|6|7|8|10|11)|QA_PIXEL)'
</pre></div>

<p>
Limit import to bands 4 and 5 for path 229 and row 083 in 2019 and get a
txt file to use in <em>t.register</em>
Expand Down

0 comments on commit 552498b

Please sign in to comment.