Skip to content

SNAP, snappy, remote sensing processing related things

Notifications You must be signed in to change notification settings

martina01natali/SNAP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Configuring snappy and doing things with it

snappy is the Python library that does all the things one would normally do with the software SNAP of ESA, such as processing satellite products from the Sentinel platforms.

BE AWARE This repository is for personal use and thus has a number of constraints that come from the fact that I have a certain machine and a fairly limited knowledge of coding. Any advice is welcome. That said, what I am working with is:

  • Windows 10, 64bit
  • SNAP 8.0 Desktop 64 bit
  • Visual Studio 2019 Community, or Visual Studio 16.9.4
  • Python 3.8 64bit
  • Apache Maven 3.8.1
  • Java 16.0.1

Cookbook

You will need some ingredients for configuring snappy correctly.

These are the main ingredients.

Now the part about environment variables: you need a lot of new variables and they must be set properly for everything to work. Go into System -> System Properties -> Advanced -> Environment variables Then set or create new:

  • into user variables:
    • var: M2 value: *\apache-maven-\apache-maven-\bin
    • var: M2_HOME value: *\apache-maven-\apache-maven-
    • var: JAVA_HOME value: *\Java\jdk-16.0.1\
    • var: VS100COMNTOOLS value: *\Microsoft Visual Studio\2019\Community\Common7\Tools
  • into system variables:
    • var: PATH add values: *\Python, *\apache-maven-\apache-maven-\bin

Then open a command line in the bin folder of the SNAP installation directory. Run

$ snappy-conf

where the path to python.exe is the full path. This should work.

To make snappy accessible everywhere, do the following: $ cd /snappy $ setup.py install

That's it! I guess! Still working on this repository.

About

SNAP, snappy, remote sensing processing related things

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published