Comments (7)
@kvos the test was successful, installation did not return any error message and I could successfully run the example file example_jupyter.ipynb.
For completeness this installation was done under OSX 10.13.6 and using conda version 4.5.12.
I am now ready to test the code on my own project. Thank you very much for the rapid and exhaustive support.
Marco
from coastsat.
Hi Marco,
You are right it seems like the conda-forge OSX packages have been updated and some of the ones that are in the requirements file are obsolete now and can't be find in https://conda.anaconda.org/conda-forge/osx-64/.
I will update the requirements file as soon as I get a Mac in my hands (not a Mac user). Hopefully in the next couple of days. Maybe @chrisleaman has CoastSat running on Mac?
In the meanwhile, you can remove the URLs of the 5 missing packages (proj4, hdf5, postgresql, libgdal and gdal) from the requirements .txt file and run that command again (conda install --name coastsat --file requirements_osx64.txt). Then you can install the missing packages separately by running: conda install name_of_the_package.
from coastsat.
@kvos, @olivo68 - I can have a look at this and test on my mac in the next day. My feeling is we should have a single environment.yml with the dependencies pinned to a specific version, but I think @kvos had some trouble making this work over multiple platforms. Will get back to you soon.
from coastsat.
I followed @kvos suggestion and installed the packages manually. However gdal finds some conflict. I checked the web and It is not clear how to solve them. I will try. Thanks for your support.
Marco
(coastsat) CricetoVolante:requirements olivo$ conda install gdal
Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:
- conda-forge/osx-64::expat==2.2.5=hfc679d8_2
- conda-forge/osx-64::kealib==1.4.10=heffcb4b_1
- defaults/osx-64::sip==4.19.8=py36h0a44026_0
from coastsat.
Hi @olivo68,
Can you copy paste this code into a new file called environment.yml
:
channels:
- defaults
- conda-forge
dependencies:
- python=3.7
- numpy=1.16.3
- matplotlib=3.0.3
- earthengine-api=0.1.173
- gdal=2.3.3
- pandas=0.24.2
- geopandas=0.4.1
- pytz=2019.1
- scikit-image=0.15.0
- geos=3.7.1
- scikit-learn=0.20.3
- shapely=1.6.4
- simplekml=1.3.0
- scipy=1.2.1
- spyder=3.3.4
- notebook=5.7.8
Then, try create the environment by running the following command:
conda env create -f environment.yml -n coastsat
You should be able to then activate the environment by using:
conda activate coastsat
This worked for me, testing on Windows and Mac. Can you let us know if this also works for you and we will update the repo with this change.
from coastsat.
thanks to @chrisleaman who solved this issue!
from coastsat.
I have merged these changes into the master, issue resolved.
from coastsat.
Related Issues (20)
- multi reference shoreline .geojson not proper working HOT 1
- Download issue with L9 and S2 cloud mask HOT 4
- Error in preprocess L5 cloud mask HOT 5
- UnavailableInvalidChannel: HTTP 404 NOT FOUND for channel earthengine-api <https://conda.anaconda.org/earthengine-api> HOT 2
- IndexError: list index out of range - when plotting seasonal averages and long term trends HOT 2
- Doesn't plot final seasonal and monthly trend figures HOT 1
- After opening the clash proxy software, some errors message appears HOT 1
- Tidal Correction data error:''value' must be an instance of str or bytes, not a float' HOT 7
- Quick question about water level correction HOT 1
- Problem with GEE HOT 2
- white water border in pixel classification HOT 11
- Axis limits cannot be NaN or Inf HOT 1
- CoastSAT seasonal and monthly average graphs HOT 8
- tidal correction plus setup and runup correction! HOT 2
- fail to digitize a reference shoreline HOT 2
- KeyError: 'dimensions' when retrieving S2 imagery HOT 12
- Spyder: QWidget: Must construct a Qapplication before a Qwidget. HOT 4
- Downloading question and reference shoreline question HOT 3
- Sentinel-2 images failed to download HOT 3
- CoastSat running on Colab: error with the pyfes package HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coastsat.