Giter VIP home page Giter VIP logo

open-impact's People

Contributors

aliciavalero avatar apose avatar astrojuanlu avatar brunosan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

open-impact's Issues

conda environment is not shareable

I had to make these changes to environment.yml to make it work on Linux:

diff --git a/environment.yml b/environment.yml
index 454b974..dd853dd 100644
--- a/environment.yml
+++ b/environment.yml
@@ -4,7 +4,6 @@ channels:
 - defaults
 dependencies:
 - affine=2.2.0=py_0
-- appnope=0.1.0=py36_0
 - asn1crypto=0.24.0=py36_0
 - attrs=17.4.0=py_0
 - backports=1.0=py36_1
@@ -120,7 +119,7 @@ dependencies:
 - pytz=2018.3=py_0
 - pywavelets=0.5.2=py36_1
 - pyzmq=17.0.0=py36_3
-- qt=5.6.2=h9e3eb04_4
+- qt=5.6.2
 - qtconsole=4.3.1=py36_0
 - rasterio=0.36.0=py36_3
 - readline=7.0=0
@@ -151,12 +150,9 @@ dependencies:
 - xz=5.2.3=0
 - zeromq=4.2.3=2
 - zlib=1.2.11=0
-- anaconda=custom=py36ha4fed55_0
 - intel-openmp=2018.0.0=8
-- libgfortran=3.0.1=h93005f0_2
-- mkl=2018.0.2=1
-- numpy=1.14.2=py36ha9ae307_0
-- scipy=1.0.0=py36h1de22e9_0
+- numpy=1.14.2
+- scipy=1.0.0
 - pip:
   - backports.functools-lru-cache==1.5
   - dask==0.17.2

The reason is that, since the introduction of newer conda versions, environment.yml files are no longer cross platform by default:

conda/conda#6220

(Other related issues: conda/conda#1033 ContinuumIO/anaconda-issues#546)

The solution is to export the environment with the --no-builds flag, which needs conda >= 4.3.31 to work. However, be careful with which conda version you use because now conda-forge is in an "everything is broken" state which hopefully will go away soon, but not before AnacondaCON conda-forge/conda-feedstock#43

So my advice is to use this in the meanwhile:

$ conda install "conda<4.4" -c conda-forge

As a last note, there's an open issue about pip packages in environment.yml files conda/conda#5901 that might end up in broken installations, so my advice is to remove them from the environment.yml file and tell the users to install them manually after creating the environment.

Nobody said it would be easy :)

Recreate conda environment

MAke sure this is replicable, scripting the creation of the same conda environment, and documentation.

Collect util functions

Across notebooks, we use the same basic tools for visualization, download, exploring a hypercube...

It is probably a good DRY idea to collect all these into a single satellogic_utils.py file and then import satellogic_utils.

That probably also means a minimal documentation for the inputs of each function too.

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.