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

SEADAS: Reprojection Tool Modifications #220

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
4d38ee5
Reproject Tool: added new features of masking and use of the valid-pi…
knowles May 11, 2022
56f629a
Merge branch 'SEADAS-Reproject' into SEADAS-Reproject-9.0.0-master
knowles May 18, 2022
8d1fc8d
Merge branch 'SEADAS-Reproject-9.0.0-pre' into SEADAS-Reproject-9.0.0
knowles Aug 17, 2022
0031493
Reproject: fixed xml load/save for GraphBuilder tool
knowles Aug 18, 2022
529f6f0
Reproject: fixed xml load/save for GraphBuilder tool: noDataValue param
knowles Aug 18, 2022
e1d1efd
Reproject: fixes to GraphBuilder UI
knowles Aug 22, 2022
fa53361
Reproject: modifications to usage in GraphBuilder
knowles Sep 21, 2022
6041422
Reprojection: removed a few unneeded broken links in the help
knowles Nov 9, 2022
8c7f6ee
Merge: resolving conflicts to merge SEADAS code into SNAP
knowles May 17, 2023
10bb1c0
Merge branch 'SEADAS-reproject-10.0.0-pre' into SEADAS-reproject-10.0.0
knowles Jun 7, 2023
bfc0876
Merge branch 'SEADAS-reproject-10.0.0' into SEADAS-reproject-10.0.0-0…
knowles Aug 30, 2023
4edd3bd
Merge branch 'SEADAS-reproject-10.0.0-08-30-23' into SEADAS-reproject…
knowles Nov 20, 2023
0bd4f8a
Merge branch 'SEADAS-reproject-10.0.0-11-20-23' into SEADAS-reproject…
knowles Jan 6, 2024
9d9a83e
Reprojection: set it to not update outputGeometryForm components if i…
knowles Feb 4, 2024
91f03e0
Merge branch 'SEADAS-reproject-10.0.0-01-05-24' into SEADAS-reproject…
knowles Apr 18, 2024
4ec0b1f
Merge branch 'SEADAS-reproject-11.0.0-04-18-24' into SEADAS-reproject…
knowles Apr 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@
<h1>Reproject Operator Description</h1>
<h2>Overview</h2>
<table>
<tr><td><b>Name:</b></td><td><code>Reproject</code></td></tr>
<tr><td><b>Full name:</b></td><td><code>org.esa.snap.core.gpf.common.reproject.ReprojectionOp</code></td></tr>
<tr><td><b>Purpose:</b></td><td>Reprojection of a source product to a target Coordinate Reference System.</td></tr>
<tr><td><b>Version:</b></td><td>1.0</td></tr>
<tr><td><b>Name:</b></td><td><code>Reproject</code></td></tr>
<tr><td><b>Full name:</b></td><td><code>org.esa.snap.core.gpf.common.reproject.ReprojectionOp</code></td></tr>
<tr><td><b>Purpose:</b></td><td>Reprojection of a source product to a target Coordinate Reference System.</td></tr>
<tr><td><b>Version:</b></td><td>1.0</td></tr>
</table>
<h2>Description</h2>
<p>
The reprojection operator is used to geo-reference data products.
Beside plain reprojection it is able to use a Digital Elevation Model (DEM) to orthorectify a data product and
to collocate one product with another.
<p>
The following XML sample shows how to integrate the {@code Reproject} operator in a processing graph (an
Lambert_Azimuthal_Equal_Area projection using the WGS-84 datum):
<pre>
The reprojection operator is used to geo-reference data products.
Beside plain reprojection it is able to use a Digital Elevation Model (DEM) to orthorectify a data product and
to collocate one product with another.
<p>
The following XML sample shows how to integrate the {@code Reproject} operator in a processing graph (an
Lambert_Azimuthal_Equal_Area projection using the WGS-84 datum):
<pre>
&lt;node id="reprojectNode"&gt;
&lt;operator&gt;Reproject&lt;/operator&gt;
&lt;sources&gt;
Expand Down Expand Up @@ -72,166 +72,196 @@ <h2>Description</h2>
&lt;noDataValue&gt;NaN&lt;/noDataValue&gt;
&lt;includeTiePointGrids&gt;true&lt;/includeTiePointGrids&gt;
&lt;addDeltaBands&gt;false&lt;/addDeltaBands&gt;
&lt;applyValidPixelExpression&gt;false&lt;/applyValidPixelExpression&gt;
&lt;retainValidPixelExpression&gt;false&lt;/retainValidPixelExpression&gt;
&lt;maskExpression&gt;false&lt;/maskExpression&gt;
&lt;/parameters&gt;
&lt;/node&gt;
</pre>

<h2>Sources</h2>
<table>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
<tr>
<td><code>sourceProduct</code></td>
<td>The product which will be reprojected.</td>
</tr>
<tr>
<td><code>collocationProduct</code></td>
<td>The source product will be collocated with this product.</td>
</tr>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
<tr>
<td><code>sourceProduct</code></td>
<td>The product which will be reprojected.</td>
</tr>
<tr>
<td><code>collocationProduct</code></td>
<td>The source product will be collocated with this product.</td>
</tr>
</table>
<h2>Parameters</h2>
<table>
<tr>
<th>Name</th>
<th>Data Type</th>
<th>Default</th>
<th>Description</th>
<th>Constraints</th>
</tr>
<tr>
<td><code>wktFile</code></td>
<td><code>File</code></td>
<td><code></code></td>
<td>A file which contains the target Coordinate Reference System in WKT format.</td>
<td></td>
</tr>
<tr>
<td><code>crs</code></td>
<td><code>String</code></td>
<td><code></code></td>
<td>A text specifying the target Coordinate Reference System, either in WKT or as an authority code. For appropriate EPSG authority codes see (www.epsg-registry.org). AUTO authority can be used with code 42001 (UTM), and 42002 (Transverse Mercator) where the scene center is used as reference. Examples: EPSG:4326, AUTO:42001</td>
<td></td>
</tr>
<tr>
<td><code>resampling</code></td>
<td><code>String</code></td>
<td><code>Nearest</code></td>
<td>The method used for resampling of floating-point raster data.</td>
<td>value set: [Nearest, Bilinear, Bicubic]</td>
</tr>
<tr>
<td><code>referencePixelX</code></td>
<td><code>Double</code></td>
<td><code></code></td>
<td>The X-position of the reference pixel.</td>
<td></td>
</tr>
<tr>
<td><code>referencePixelY</code></td>
<td><code>Double</code></td>
<td><code></code></td>
<td>The Y-position of the reference pixel.</td>
<td></td>
</tr>
<tr>
<td><code>easting</code></td>
<td><code>Double</code></td>
<td><code></code></td>
<td>The easting of the reference pixel.</td>
<td></td>
</tr>
<tr>
<td><code>northing</code></td>
<td><code>Double</code></td>
<td><code></code></td>
<td>The northing of the reference pixel.</td>
<td></td>
</tr>
<tr>
<td><code>orientation</code></td>
<td><code>Double</code></td>
<td><code>0</code></td>
<td>The orientation of the output product (in degree).</td>
<td>interval: [-360,360]</td>
</tr>
<tr>
<td><code>pixelSizeX</code></td>
<td><code>Double</code></td>
<td><code></code></td>
<td>The pixel size in X direction given in CRS units.</td>
<td></td>
</tr>
<tr>
<td><code>pixelSizeY</code></td>
<td><code>Double</code></td>
<td><code></code></td>
<td>The pixel size in Y direction given in CRS units.</td>
<td></td>
</tr>
<tr>
<td><code>width</code></td>
<td><code>Integer</code></td>
<td><code></code></td>
<td>The width of the target product.</td>
<td></td>
</tr>
<tr>
<td><code>height</code></td>
<td><code>Integer</code></td>
<td><code></code></td>
<td>The height of the target product.</td>
<td></td>
</tr>
<tr>
<td><code>tileSizeX</code></td>
<td><code>Integer</code></td>
<td><code></code></td>
<td>The tile size in X direction.</td>
<td></td>
</tr>
<tr>
<td><code>tileSizeY</code></td>
<td><code>Integer</code></td>
<td><code></code></td>
<td>The tile size in Y direction.</td>
<td></td>
</tr>
<tr>
<td><code>orthorectify</code></td>
<td><code>boolean</code></td>
<td><code>false</code></td>
<td>Whether the source product should be orthorectified. (Not applicable to all products)</td>
<td></td>
</tr>
<tr>
<td><code>elevationModelName</code></td>
<td><code>String</code></td>
<td><code></code></td>
<td>The name of the elevation model for the orthorectification. If not given tie-point data is used.</td>
<td></td>
</tr>
<tr>
<td><code>noDataValue</code></td>
<td><code>Double</code></td>
<td><code></code></td>
<td>The value used to indicate no-data.</td>
<td></td>
</tr>
<tr>
<td><code>includeTiePointGrids</code></td>
<td><code>boolean</code></td>
<td><code>true</code></td>
<td>Whether tie-point grids should be included in the output product.</td>
<td></td>
</tr>
<tr>
<td><code>addDeltaBands</code></td>
<td><code>boolean</code></td>
<td><code>false</code></td>
<td>Whether to add delta longitude and latitude bands.</td>
<td></td>
</tr>
<tr>
<th>Name</th>
<th>Data Type</th>
<th>Default</th>
<th>Description</th>
<th>Constraints</th>
</tr>
<tr>
<td><code>wktFile</code></td>
<td><code>File</code></td>
<td><code></code></td>
<td>A file which contains the target Coordinate Reference System in WKT format.</td>
<td></td>
</tr>
<tr>
<td><code>crs</code></td>
<td><code>String</code></td>
<td><code></code></td>
<td>A text specifying the target Coordinate Reference System, either in WKT or as an authority code. For appropriate EPSG authority codes see (www.epsg-registry.org). AUTO authority can be used with code 42001 (UTM), and 42002 (Transverse Mercator) where the scene center is used as reference. Examples: EPSG:4326, AUTO:42001</td>
<td></td>
</tr>
<tr>
<td><code>resampling</code></td>
<td><code>String</code></td>
<td><code>Nearest</code></td>
<td>The method used for resampling of floating-point raster data.</td>
<td>value set: [Nearest, Bilinear, Bicubic]</td>
</tr>
<tr>
<td><code>referencePixelX</code></td>
<td><code>Double</code></td>
<td><code></code></td>
<td>The X-position of the reference pixel.</td>
<td></td>
</tr>
<tr>
<td><code>referencePixelY</code></td>
<td><code>Double</code></td>
<td><code></code></td>
<td>The Y-position of the reference pixel.</td>
<td></td>
</tr>
<tr>
<td><code>easting</code></td>
<td><code>Double</code></td>
<td><code></code></td>
<td>The easting of the reference pixel.</td>
<td></td>
</tr>
<tr>
<td><code>northing</code></td>
<td><code>Double</code></td>
<td><code></code></td>
<td>The northing of the reference pixel.</td>
<td></td>
</tr>
<tr>
<td><code>orientation</code></td>
<td><code>Double</code></td>
<td><code>0</code></td>
<td>The orientation of the output product (in degree).</td>
<td>interval: [-360,360]</td>
</tr>
<tr>
<td><code>pixelSizeX</code></td>
<td><code>Double</code></td>
<td><code></code></td>
<td>The pixel size in X direction given in CRS units.</td>
<td></td>
</tr>
<tr>
<td><code>pixelSizeY</code></td>
<td><code>Double</code></td>
<td><code></code></td>
<td>The pixel size in Y direction given in CRS units.</td>
<td></td>
</tr>
<tr>
<td><code>width</code></td>
<td><code>Integer</code></td>
<td><code></code></td>
<td>The width of the target product.</td>
<td></td>
</tr>
<tr>
<td><code>height</code></td>
<td><code>Integer</code></td>
<td><code></code></td>
<td>The height of the target product.</td>
<td></td>
</tr>
<tr>
<td><code>tileSizeX</code></td>
<td><code>Integer</code></td>
<td><code></code></td>
<td>The tile size in X direction.</td>
<td></td>
</tr>
<tr>
<td><code>tileSizeY</code></td>
<td><code>Integer</code></td>
<td><code></code></td>
<td>The tile size in Y direction.</td>
<td></td>
</tr>
<tr>
<td><code>orthorectify</code></td>
<td><code>boolean</code></td>
<td><code>false</code></td>
<td>Whether the source product should be orthorectified. (Not applicable to all products)</td>
<td></td>
</tr>
<tr>
<td><code>elevationModelName</code></td>
<td><code>String</code></td>
<td><code></code></td>
<td>The name of the elevation model for the orthorectification. If not given tie-point data is used.</td>
<td></td>
</tr>
<tr>
<td><code>noDataValue</code></td>
<td><code>Double</code></td>
<td><code></code></td>
<td>The value used to indicate no-data.</td>
<td></td>
</tr>
<tr>
<td><code>includeTiePointGrids</code></td>
<td><code>boolean</code></td>
<td><code>true</code></td>
<td>Whether tie-point grids should be included in the output product.</td>
<td></td>
</tr>
<tr>
<td><code>addDeltaBands</code></td>
<td><code>boolean</code></td>
<td><code>false</code></td>
<td>Whether to add delta longitude and latitude bands.</td>
<td></td>
</tr>


<tr>
<td><code>applyValidPixelExpression</code></td>
<td><code>boolean</code></td>
<td><code>true</code></td>
<td>Constrain which pixels get used based on the valid expression of the source file bands.</td>
<td></td>
</tr>
<tr>
<td><code>retainValidPixelExpression</code></td>
<td><code>boolean</code></td>
<td><code>true</code></td>
<td>The valid pixel expression of each of the source file bands will be retained and stored in the corresponding
bands of the reprojected file.</td>
<td></td>
</tr>
<tr>
<td><code>maskExpression</code></td>
<td><code>boolean</code></td>
<td><code>false</code></td>
<td>Custom logical expression to constrain which pixels of the source band get used.</td>
<td></td>
</tr>


</table>
<hr/>
</body>
Expand Down
Loading