Skip to content

Comments

r.in.aster: removed dependency on arch for OSX and added support for ASTER L1T data products#3258

Merged
nilason merged 10 commits intoOSGeo:mainfrom
afrigeri:main
Dec 1, 2023
Merged

r.in.aster: removed dependency on arch for OSX and added support for ASTER L1T data products#3258
nilason merged 10 commits intoOSGeo:mainfrom
afrigeri:main

Conversation

@afrigeri
Copy link
Contributor

this adds to r.in.aster support for:

  1. Darwin 64bit architecture
  2. ATER Level 1 Precision Terrain Corrected Registered At-Sensor Radiance (L1T) containing calibrated at-sensor radiance, which corresponds with the ASTER Level 1B (AST_L1B), that has been geometrically corrected, and rotated to a north-up UTM projection.

updated code and manual.

The code expects 15 bands, while The L1T dataset does not include the aft-looking VNIR band 3 (3b), so 3b is the copy of 3n. Future improvements shall consider this aspect specific to L1T.

best,

Alessandro

@neteler neteler changed the title added support for Darwin 64bit arch and for ASTER L1T data products r.in.aster: add support for Darwin 64bit arch and for ASTER L1T data products Nov 22, 2023
@neteler neteler added enhancement New feature or request Python Related code is in Python labels Nov 22, 2023
@afrigeri afrigeri changed the title r.in.aster: add support for Darwin 64bit arch and for ASTER L1T data products r.in.aster: removed dependency on arch for OSX and added support for ASTER L1T data products Nov 23, 2023
Copy link
Contributor

@nilason nilason left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added some more suggestions.
You can also delete line 55 ´import platform`, as it is no longer needed.

You will need to run the Python module Black (preferable version 23.1.0) on the py file as there are some formatting issues that need to be corrected (see https://github.com/OSGeo/grass/blob/main/doc/development/submitting/python.md#automation).

@nilason nilason added the raster Related to raster data processing label Nov 24, 2023
@afrigeri afrigeri requested a review from nilason November 29, 2023 22:39
Copy link
Contributor

@nilason nilason left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me and simple local test (on Mac) succeeded.

@nilason nilason self-assigned this Nov 30, 2023
@nilason nilason merged commit 4b6dcb9 into OSGeo:main Dec 1, 2023
@nilason
Copy link
Contributor

nilason commented Dec 1, 2023

@afrigeri Thank you for your contribution!

@afrigeri
Copy link
Contributor Author

afrigeri commented Dec 2, 2023

@afrigeri Thank you for your contribution!

Yay!

HuidaeCho pushed a commit to HuidaeCho/grass that referenced this pull request Jan 9, 2024
In addition, removed architecture dependent code for Mac.
@neteler neteler added this to the 8.4.0 milestone Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Python Related code is in Python raster Related to raster data processing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants