Skip to content

Commit

Permalink
i.atcorr: add atmospheric correction support for Hyperion hyperspectr…
Browse files Browse the repository at this point in the history
…al imagery (VNIR and SWIR parts) (OSGeo#3272)

* Added Hyperion VNIR SWIR CSV files

* Added support for Hyperion VNIR and SWIR
  • Loading branch information
YannChemin authored Nov 30, 2023
1 parent 00a8fff commit 2ff126d
Show file tree
Hide file tree
Showing 7 changed files with 1,724 additions and 4 deletions.
6 changes: 5 additions & 1 deletion imagery/i.atcorr/geomcond.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,8 @@ void GeomCond::parse()
case 29: /* planetscope0f10 * enter month,day,hh.ddd,long.,lat. */
case 30: /* worldview4 * enter month,day,hh.ddd,long.,lat. */
case 31: /* AVIRIS * enter month,day,hh.ddd,long.,lat. */
case 32: /* Hyperion VNIR * enter month,day,hh.ddd,long.,lat. */
case 33: /* Hyperion SWIR * enter month,day,hh.ddd,long.,lat. */
{
cin >> month;
cin >> jday;
Expand Down Expand Up @@ -483,7 +485,9 @@ void GeomCond::print()
string(" planetscope 0e observation "),
string(" planetscope 0f 10 observation"),
string(" worldview4 observation "),
string(" AVIRIS observation ")};
string(" AVIRIS observation "),
string(" Hyperion VNIR observation "),
string(" Hyperion SWIR observation ")};

static const string head(" geometrical conditions identity ");
static const string line(" ------------------------------- ");
Expand Down
4 changes: 4 additions & 0 deletions imagery/i.atcorr/geomcond.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@
/* */
/* 31 AVIRIS * enter month,day,hh.ddd,long.,lat. */
/* */
/* 32 Hyperion VNIR * enter month,day,hh.ddd,long.,lat. */
/* */
/* 33 Hyperion SWIR * enter month,day,hh.ddd,long.,lat. */
/* */
/* note: for hrv and tm experiments long. and lat. are the */
/* coordinates of the scene center. */
/* lat. must be > 0 for north lat., < 0 for south lat. */
Expand Down
33 changes: 31 additions & 2 deletions imagery/i.atcorr/i.atcorr.html
Original file line number Diff line number Diff line change
Expand Up @@ -253,11 +253,23 @@ <h3>A. Geometrical conditions</h3>
</tr>

<tr>
<td>30</td>
<td>31</td>
<td><b>AVIRIS</b></td>
<td>enter month,day,hh.ddd,long.,lat. *</td>
</tr>

<tr>
<td>32</td>
<td><b>Hyperion VNIR</b></td>
<td>enter month,day,hh.ddd,long.,lat. *</td>
</tr>

<tr>
<td>33</td>
<td><b>Hyperion SWIR</b></td>
<td>enter month,day,hh.ddd,long.,lat. *</td>
</tr>

</table>

<p>
Expand Down Expand Up @@ -477,7 +489,8 @@ <h3>E. Target altitude (xps), sensor platform (xpp)</h3>

<p>For aircraft simulations only (xpp is neither equal to 0 nor equal to -1000):
<blockquote>
puw,po3 (water vapor content,ozone content between the aircraft and the surface)
puw (water vapor content between the aircraft and the surface)
<br>po3 (ozone content between the aircraft and the surface)
<br>taerp (the aerosol optical thickness at 550nm between the aircraft and the
surface)
<p>If these data are not available, enter negative values for all of them.
Expand Down Expand Up @@ -778,6 +791,19 @@ <h3>F. Sensor band</h3>
<tr><td>.</td><td>AVIRIS b. band (+10nm)</td></tr>
<tr><td>431</td><td>AVIRIS b223 band (2486nm)</td></tr>
<tr><td>432</td><td>AVIRIS b224 band (2496nm)</td></tr>

<tr><td>433</td><td>Hyperion VNIR b8 band (427nm)</td></tr>
<tr><td>434</td><td>Hyperion VNIR b9 band (437.16326nm)</td></tr>
<tr><td>.</td><td>Hyperion VNIR b. band (+10.16326nm)</td></tr>
<tr><td>480</td><td>Hyperion VNIR b56 band (914.83648nm)</td></tr>
<tr><td>481</td><td>Hyperion VNIR b57 band (924.99974nm)</td></tr>

<tr><td>482</td><td>Hyperion SWIR b77 band (912nm)</td></tr>
<tr><td>483</td><td>Hyperion SWIR b78 band (922.0884nm)</td></tr>
<tr><td>.</td><td>Hyperion SWIR b. band (+10.0884nm)</td></tr>
<tr><td>627</td><td>Hyperion SWIR b223 band (2384.9064nm)</td></tr>
<tr><td>628</td><td>Hyperion SWIR b224 band (2394.9948nm)</td></tr>

</table>

<h2>EXAMPLES</h2>
Expand Down Expand Up @@ -1148,3 +1174,6 @@ <h2>AUTHORS</h2>

<p><em>Worldview4 addition 12/2018:</em>
<br>Markus Neteler, mundialis.de, Germany

<p><em>AVIRIS/Hyperion addition 11/2023:</em>
<br>Yann Chemin, SOPHIA Engineering, FR
Loading

0 comments on commit 2ff126d

Please sign in to comment.