GithubHelp home page GithubHelp logo

snap-conda's Introduction

SNAP as a conda package

Project Status: Active โ€“ The project has reached a stable, usable state and is being actively developed.

A package manager is a tool that automates the process of installing, updating, and removing packages. Conda, with its "conda install", "conda update", and "conda remove" sub-commands, falls squarely under this definition.

Conda is a general-purpose package management system, designed to build and manage software of any type from any language. As such, it also works well with Python packages.

Conda is a language-agnostic cross-platform environment manager that installs any package within conda environments.

This repository provides a conda recipe for packaging SNAP as a conda package.

The goal of SNAP as a conda package is to ease the unattended installation of SNAP and snappy in headless environments such as Linux consoles or docker images.

This goal is achieved by creating conda packages installing SNAP and snappy, published on a public conda channel.

Building this recipe

This recipe is built with conda (or mamba) with:

conda build -c terradue .

Installing SNAP as a conda package

To install SNAP as a conda package on Linux, use conda (or mamba):

conda install -c terradue -c conda-forge snap=8.0.0

Limitations

SNAP as a conda package can be installed on Linux. For Mac or Windows, we suggest looking at the proposed startegies:

snap-conda's People

Contributors

fabricebrito avatar bbrauzzi avatar

Stargazers

 avatar hao dong avatar John Truckenbrodt avatar Marco Wolsza avatar Michael Fazio avatar Wenxin Yang avatar  avatar Thomas Di Martino avatar Antonio Valentino avatar Ciaran avatar Victor Hertel avatar

Watchers

James Cloos avatar  avatar

snap-conda's Issues

Update for SNAP 9.0.0

Is there any chance to upgrade to version 9.0.0? I use it frequently with google colab and the environment is no longer backwards compatible. My thanks and congratulations on your work!

conda-forge build?

I started the process to create a conda-forge version of this repo: https://github.com/ryan-salo/staged-recipes/tree/esa-snap.

However, I'm hitting an error with fonts not found during the update command and it enters into a never ending loop. Any tips on how to satisfy that dependency? I tried adding some env vars and fonts packages, but that didn't work. I also moved the post-link.sh content to build.sh, I wasn't able to see the error until I did that.

`auxdata` directory per user not per environment

Hi @fabricebrito,
thanks for your work on this conda version of SNAP! I think it's a very valuable development.
I've just started testing it on our university's HPC cluster and it seems to work quite well. One issue I've noticed is the usage of the default .snap directory and the auxdata subdirectory relative to the SNAP installation inside of an environment. It would be much better to set these once for the user, which would avoid the download and accumulation of auxiliary data (DEM, orbit files, etc) each time you start with a new conda environment.

I was able to adjust some configurations to change the default directories, as described here and here. You could also have a look how pyroSAR handles this, as it uses a .snap user directory by default.

What do you think?

Cheers,
Marco

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.