Coder Social home page Coder Social logo

fpl / polsarpro Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 41.62 MB

ESA PolSARpro v6.0.3 (Biomass Edition) Software - UPDATED Linux edition

Home Page: https://ietr-lab.univ-rennes1.fr/polsarpro-bio/

License: GNU General Public License v2.0

Shell 0.02% Batchfile 0.03% Tcl 51.03% C 31.22% C++ 17.69% GLSL 0.01%
polarimetry radar remotesensing sar

polsarpro's Introduction

Mirror of POLSARPRO V6.0.3 (BIOMASS EDITION) for Linux

This repository is a mirror of the PolSARPro software, eventually patched to build and run on a modern GNU/Linux system. This software can be built on Debian GNU/Linux 11+ and its derivatives, including Ubuntu 21.4+.

Please, refer to https://ietr-lab.univ-rennes1.fr/polsarpro-bio/ for the original distribution kit and its documentation, as well as the users forum at https://forum.step.esa.int/ for support.

In order to install and use this software kit on Debian and derivatives, it is mandatory to install a few more packages than those listed in the original documentation.

sudo apt install libtk-img iwidgets4 bwidget wget
sudo apt install gcc g++ build-essential libglew-dev
sudo apt install freeglut3-dev libfreeimage-dev

wget https://dl.google.com/dl/earth/client/current/google-earth-pro-stable_current_amd64.deb
sudo apt install ./google-earth-pro-stable_current_amd64.deb

wget https://download.esa.int/step/snap/9.0/installers/esa-snap_all_unix_9_0_0.sh
chmod a+x ./esa-snap_all_unix_9_0_0.sh
sudo ./esa-snap_all_unix_9_0_0.sh

sudo apt install gimp gnuplot imagemagick 
sudo apt install p7zip-full curl hdf5-tools

The Tcl scripts have been patched to use the system wide tools. Note that the Tk GUI have some glitches in use with some workarounds, I eventually could fix them if there was enough interest.

I even added a simple shell script polsarpro.sh to be run as the preferred way of using PolSARPro program.

-- Enjoy

polsarpro's People

Contributors

fpl avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

polsarpro's Issues

Cannot Find BWidget Package

Hello,
when I ran the software after installation, an error was displayed:
"Cannot Find BWidget Package"
Could you help me?
Thank you very much.

Best regards

QQ图片20240123122010

Polsarpro needs to be started from its installation directory

Typically users need to cd /opt/polsarsarpro and run wish from there, else the main script will fail.

$ wish /opt/polsarpro/PolSARpro_v6.0.3_Biomass_Edition.tcl
Error in startup script: can't read "Version": no such variable
    while executing
"append PSPEnv $Version"
    (procedure "InitPolSARproEnv" line 64)
    invoked from within
"InitPolSARproEnv"
    (procedure "init" line 623)
    invoked from within
"init $argc $argv"
    (file "/opt/polsarpro/PolSARpro_v6.0.3_Biomass_Edition.tcl" line 14723)

This Is due to the use of pwd and . to build a lot of its internal file paths. A standard approach would be setting an environment variable - such as $PSP_HOME - and using it within the Tk scripts. Unfortunately this is the pattern used within 298 different Tcl scripts.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.