Skip to content

Commit

Permalink
AVIRIS support in .atcorr (#3229)
Browse files Browse the repository at this point in the history
* Add AVIRIS

* Rename aviris.csv to AVIRIS.csv

* Update iwave.h

* Update iwave.cpp

* Update i.atcorr.html

* Update i.atcorr.html

AVIRIS bands description

* Update geomcond.h

* Update geomcond.cpp

* Add files via upload

* pre-commit run --all

* Update altitude.cpp

remove temoprary print()

* Update iwave.cpp

remove temporary print()
  • Loading branch information
YannChemin committed Nov 15, 2023
1 parent aaaa23c commit 3eacd2a
Show file tree
Hide file tree
Showing 6 changed files with 1,880 additions and 3 deletions.
4 changes: 3 additions & 1 deletion imagery/i.atcorr/geomcond.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ void GeomCond::parse()
case 28: /* planetscope0e * enter month,day,hh.ddd,long.,lat. */
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. */
{
cin >> month;
cin >> jday;
Expand Down Expand Up @@ -481,7 +482,8 @@ void GeomCond::print()
string(" planetscope 0c 0d observation"),
string(" planetscope 0e observation "),
string(" planetscope 0f 10 observation"),
string(" worldview4 observation ")};
string(" worldview4 observation "),
string(" AVIRIS observation ")};

static const string head(" geometrical conditions identity ");
static const string line(" ------------------------------- ");
Expand Down
2 changes: 2 additions & 0 deletions imagery/i.atcorr/geomcond.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@
/* */
/* 30 worldview4 * enter month,day,hh.ddd,long.,lat. */
/* */
/* 31 AVIRIS * 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
11 changes: 11 additions & 0 deletions imagery/i.atcorr/i.atcorr.html
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,12 @@ <h3>A. Geometrical conditions</h3>
<td>enter month,day,hh.ddd,long.,lat. *</td>
</tr>

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

</table>

<p>
Expand Down Expand Up @@ -767,6 +773,11 @@ <h3>F. Sensor band</h3>
<tr><td>207</td><td>Worldview4 Red band (639nm - 711nm)</td></tr>
<tr><td>208</td><td>Worldview4 NIR1 band (732nm - 962nm)</td></tr>

<tr><td>208</td><td>AVIRIS b1 band (365nm)</td></tr>
<tr><td>209</td><td>AVIRIS b2 band (375nm)</td></tr>
<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>
</table>

<h2>EXAMPLES</h2>
Expand Down

0 comments on commit 3eacd2a

Please sign in to comment.