[GRASS-dev] [GRASS GIS] #2407: Rename i.tasscap to i.landsat.tasscap?

#2407: Rename i.tasscap to i.landsat.tasscap?
--------------------------------+-------------------------------------------
Reporter: jbrauner | Owner: grass-dev@…
     Type: defect | Status: new
Priority: blocker | Milestone: 7.0.0
Component: Imagery | Version: svn-releasebranch70
Keywords: i.tasscap, landsat | Platform: All
      Cpu: All |
--------------------------------+-------------------------------------------
Hi GRASS devs,

the module description for i.tasscap states "Performs Tasseled Cap (Kauth
Thomas) transformation for LANDSAT-TM data".

If the module only works for LANDSAT data, I'd suggest to rename it to
i.landsat.tasscap. If the module also works for other satellite imagery
the module description should be broadened a little bit.

Sorry, I'm not a remote sensing expert myself.

As suggested by Martin L. last week I marked it as blocker.

Cheers,

Johannes

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2407&gt;
GRASS GIS <http://grass.osgeo.org>

#2407: Rename i.tasscap to i.landsat.tasscap?
--------------------------------+-------------------------------------------
Reporter: jbrauner | Owner: grass-dev@…
     Type: defect | Status: new
Priority: blocker | Milestone: 7.0.0
Component: Imagery | Version: svn-releasebranch70
Keywords: i.tasscap, landsat | Platform: All
      Cpu: All |
--------------------------------+-------------------------------------------

Comment(by neteler):

Good point but in my view it would be better to add more sensors,
e.g. Quickbird, CBERS etc. In case we get those other tasseled cap
coefficients
(I see that some have been published online) we could add a sensor=xxx
parameter.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2407#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#2407: Rename i.tasscap to i.landsat.tasscap?
--------------------------------+-------------------------------------------
Reporter: jbrauner | Owner: grass-dev@…
     Type: defect | Status: new
Priority: blocker | Milestone: 7.0.0
Component: Imagery | Version: svn-releasebranch70
Keywords: i.tasscap, landsat | Platform: All
      Cpu: All |
--------------------------------+-------------------------------------------

Comment(by neteler):

Some refs e.g. here:

http://wiki.landscapetoolbox.org/doku.php/remote_sensing_methods:tasseled-
cap_transformation

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2407#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#2407: Rename i.tasscap to i.landsat.tasscap?
-----------------------+----------------------------------------------------
  Reporter: jbrauner | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: blocker | Milestone: 7.0.0
Component: Imagery | Version: svn-releasebranch70
Resolution: fixed | Keywords: i.tasscap, landsat
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Changes (by martinl):

  * status: new => closed
  * resolution: => fixed

Comment:

Replying to [comment:1 neteler]:
> Good point but in my view it would be better to add more sensors,
> e.g. Quickbird, CBERS etc. In case we get those other tasseled cap
coefficients
> (I see that some have been published online) we could add a sensor=xxx
> parameter.

So close the ticket as `wontfix`?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2407#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#2407: Rename i.tasscap to i.landsat.tasscap?
-----------------------+----------------------------------------------------
  Reporter: jbrauner | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: blocker | Milestone: 7.0.0
Component: Imagery | Version: svn-releasebranch70
Resolution: fixed | Keywords: i.tasscap, landsat
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------

Comment(by jbrauner):

Replying to [comment:3 martinl]:
> Replying to [comment:1 neteler]:
> > Good point but in my view it would be better to add more sensors,
> > e.g. Quickbird, CBERS etc. In case we get those other tasseled cap
coefficients
> > (I see that some have been published online) we could add a sensor=xxx
> > parameter.
>
> So close the ticket as `wontfix`?

Absolutely fine by me. I've no strong feelings about leaving it as is (as
I even cannot help to improve it to include new sensors).

Side note: I'm not sure if a new (even blocking?) ticket is required,
asking for these new parameters like 'sensor' to be foreseen in the future
- I'm just wondering because of the upcoming RC. I'm also guessing that a
number of other parameters could change as well. Certainly not my decision
to make :slight_smile:

Cheers,

Johannes

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2407#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

#2407: Rename i.tasscap to i.landsat.tasscap?
-----------------------+----------------------------------------------------
  Reporter: jbrauner | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: blocker | Milestone: 7.0.0
Component: Imagery | Version: svn-releasebranch70
Resolution: fixed | Keywords: i.tasscap, landsat
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------

Comment(by wenzeslaus):

Replying to [comment:4 jbrauner]:
>
> Side note: I'm not sure if a new (even blocking?) ticket is required,
asking for these new parameters like 'sensor' to be foreseen in the future
- I'm just wondering because of the upcoming RC. I'm also guessing that a
number of other parameters could change as well. Certainly not my decision
to make :slight_smile:

I'm not following this issue but in general blocker is required only if
the API is changed in backwards incompatible manner. So, if you are adding
parameter but it has a default which gives the equivalent result as the
previous version it is OK.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2407#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>

#2407: Rename i.tasscap to i.landsat.tasscap?
-----------------------+----------------------------------------------------
  Reporter: jbrauner | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: blocker | Milestone: 7.0.0
Component: Imagery | Version: svn-releasebranch70
Resolution: fixed | Keywords: i.tasscap, landsat
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------

Comment(by jbrauner):

Replying to [comment:5 wenzeslaus]:
> Replying to [comment:4 jbrauner]:
> >
> > Side note: I'm not sure if a new (even blocking?) ticket is required,
asking for these new parameters like 'sensor' to be foreseen in the future
- I'm just wondering because of the upcoming RC. I'm also guessing that a
number of other parameters could change as well. Certainly not my decision
to make :slight_smile:
>
> I'm not following this issue but in general blocker is required only if
the API is changed in backwards incompatible manner. So, if you are adding
parameter but it has a default which gives the equivalent result as the
previous version it is OK.

Oh, I see, thanks a lot for the clarification.

Cheers,

Johannes

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2407#comment:6&gt;
GRASS GIS <http://grass.osgeo.org>

#2407: Rename i.tasscap to i.landsat.tasscap?
-----------------------+----------------------------------------------------
  Reporter: jbrauner | Owner: grass-dev@…
      Type: defect | Status: reopened
  Priority: blocker | Milestone: 7.0.0
Component: Imagery | Version: svn-releasebranch70
Resolution: | Keywords: i.tasscap, landsat
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Changes (by neteler):

  * status: closed => reopened
  * resolution: fixed =>

Comment:

Replying to [comment:5 wenzeslaus]:
> I'm not following this issue but in general blocker is required only if
the API is changed in backwards incompatible manner.

Yes: In this case the actual flags need to be turned into values for the
new sensor= parameter.
(see http://grass.osgeo.org/grass70/manuals/i.tasscap.html):

sensor=landsat4,landsat5,landsat7,landsat8,quickbird,...

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2407#comment:7&gt;
GRASS GIS <http://grass.osgeo.org>

#2407: Rename i.tasscap to i.landsat.tasscap?
-----------------------+----------------------------------------------------
  Reporter: jbrauner | Owner: grass-dev@…
      Type: defect | Status: reopened
  Priority: blocker | Milestone: 7.0.0
Component: Imagery | Version: svn-releasebranch70
Resolution: | Keywords: i.tasscap, landsat
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------

Comment(by wenzeslaus):

Replying to [comment:7 neteler]:
> Replying to [comment:5 wenzeslaus]:
> > I'm not following this issue but in general blocker is required only
if the API is changed in backwards incompatible manner.
>
> Yes: In this case the actual flags need to be turned into values for the
new sensor= parameter.
> (see http://grass.osgeo.org/grass70/manuals/i.tasscap.html):
>
> sensor=landsat4,landsat5,landsat7,landsat8,quickbird,...

The new version committed in r61920 to trunk has `satellite` option
instead of flags and one `input` option instead of several `band*`
options.

Several naming changes done with MarkusN in order to be more precise about
satellite/sensor. Feedback welcome, especially the manual page should be
reviewed. I tested that but more testing would be helpful too.

Now it is possible to add new satellites/sensors easily without breaking
API.

This ticket can be closed once the change is backported to 7.0.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2407#comment:8&gt;
GRASS GIS <http://grass.osgeo.org>

#2407: Rename i.tasscap to i.landsat.tasscap?
-----------------------+----------------------------------------------------
  Reporter: jbrauner | Owner: grass-dev@…
      Type: defect | Status: reopened
  Priority: blocker | Milestone: 7.0.0
Component: Imagery | Version: svn-releasebranch70
Resolution: | Keywords: i.tasscap, landsat
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------

Comment(by jbrauner):

Replying to [comment:8 wenzeslaus]:
> Replying to [comment:7 neteler]:
> > Replying to [comment:5 wenzeslaus]:
> > > I'm not following this issue but in general blocker is required only
if the API is changed in backwards incompatible manner.
> >
> > Yes: In this case the actual flags need to be turned into values for
the new sensor= parameter.
> > (see http://grass.osgeo.org/grass70/manuals/i.tasscap.html):
> >
> > sensor=landsat4,landsat5,landsat7,landsat8,quickbird,...
>
> The new version committed in r61920 to trunk has `satellite` option
instead of flags and one `input` option instead of several `band*`
options.
>
> Several naming changes done with MarkusN in order to be more precise
about satellite/sensor. Feedback welcome, especially the manual page
should be reviewed. I tested that but more testing would be helpful too.

Seems to work as expected (however I cannot check whether the calculations
are semantically correct), manual seems fine as well. Great job! Once
again I'm fairly impressed by you devs.

> Now it is possible to add new satellites/sensors easily without breaking
API.
>
> This ticket can be closed once the change is backported to 7.0.

Cheers,

Johannes

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2407#comment:9&gt;
GRASS GIS <http://grass.osgeo.org>

#2407: Rename i.tasscap to i.landsat.tasscap?
-----------------------+----------------------------------------------------
  Reporter: jbrauner | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: blocker | Milestone: 7.0.0
Component: Imagery | Version: svn-releasebranch70
Resolution: fixed | Keywords: i.tasscap, landsat
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Changes (by neteler):

  * status: reopened => closed
  * resolution: => fixed

Comment:

Backported in r62125 and r62127. Closing.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2407#comment:10&gt;
GRASS GIS <http://grass.osgeo.org>