mundialis / grass-keyhole

GRASS GIS modules and workflow description for the rectification of satellite images from US KEYHOLE reconnaissance missions
https://www.mundialis.de/en/services/
GNU General Public License v3.0
1 stars 1 forks source link

invalid URL of GRASS modules "i.ortho.position" and "i.ortho.corona" installation #2

Open jwLuo6413 opened 2 months ago

jwLuo6413 commented 2 months ago

I follow the instruction to install GRASS modules "i.ortho.corona" from "preparation" part in this repository with command line "g.extension extension=i.ortho.corona url=https://github.com/mundialis/grass-keyhole/tree/main/grass_addons/i.ortho.corona". I get error like this "Cannot open URL, http://wingrass.fsv.cvut.cz/grass83/addons/grass-8.3.2/i.ortho.corona.zip: HTTP Error 404: Not Found" This shows that GRASS Addons repo does not work. It gives me the same error when I try to install "i.ortho.position". Can anyone give me some hints?

neteler commented 2 months ago

So far our focus is on Linux/Mac based installations and we do not provide Windows addon packages.

However, since the addons in question are Python based, it is sufficient to copy the scripts (without .py extension into the scripts directory of your Windows based GRASS GIS installation.

jwLuo6413 commented 1 month ago

Thanks for your help, I will take a try!

jwLuo6413 commented 1 month ago

Now I have installed GRASS GIS in WSL2 Ubuntu, but I still cannot equip GRASS GIS with "i.ortho.corona" and "i.ortho.position". It shows the error like this: "ERROR: Extension <i.ortho.corona> not found. Please check 'url' and 'branch' options". Maybe url or published brach name is problematic? You also notice that copy "i.ortho.position.py" or "i.ortho.corona.py" file without ".py" extension into the Windows-based GRASS GIS scripts directory. However, due to limited knowledge and acquiantance about GRASS GIS, currently I still cannot find a reasonable solution. De facto, I am just curious about the panorama correction of camera KH-4A/B and KH-9 you have performed in this repository. I have read many papers about distortion correction of camera KH-4A/B (Ghuffar et al., 2022) and KH-9 (Dehecq et al., 2020). How do you perform camera correction in this repository? Is there any reference papers to recommend? Maybe I can rewrite it in a pure pythonic way.