Comments (6)
I forgot to include that module in the setup.py
installer, so Python doesn't know it exists. Upgrading to yatsm>=0.5.5
should fix it
See this commit from the changelog.
from tstools.
I thought I was updated to v0.5.5. Just pulled the latest and installed again just in case. Also checked the setup.py
installed and I do see the 'yatsm.phenology'
module as shown in the changelog.
Still getting the error when I try to enable phenology in TSTools though.
Am I missing something?
from tstools.
I just checked your installation of TSTools on GEO and it looks like it's gone off the rails quite a bit. Your version (seen in the TSTools description page of the Plugins -> Manage and Install Plugins) is 0.99
while the current is 1.0.1
.
The bit that tipped me off is that the line throwing the error in question is not correct relative to the current version and I've updated the relevant lines to utilize the __init__
and fit
framework used in scikit-learn
.
I checked your clone of TSTools in ~/Documents/TSTools on GEO. I'm not 100% sure what went wrong, but you have many many files that are untracked and you're somehow ahead of origin/master
by 20 commits (check out git status
). You also somehow have the latest commits and additions, like the DOI addition and the Vagrantfile additions.
Not 100% sure, but I believe the divergence might have been caused by me doing a general no no by force pushing after clearing all mentions of tstools.zip
from within the repo history just prior to the 1.0.0
release. If so then nothing you did wrong! Sorry!
A git fetch origin; git reset --hard origin/master
should clear things up for the repo (you could also just nuke the files and re-clone if that doesn't work). Remember to run the deploy script to have it install itself into the QGIS plugin directory.
from tstools.
FYI now that there are actual versions of the plugin you have two options if you want a guarantee of deploying something that I at least think is stable.
- Download the release,
tstools.zip
, from Github and install according to user instructions - Keep using a cloned repo, but checkout a specific version by utilizing git tags.
git tag -l
to list all tags -- these are tied to version releases- You can do a
git checkout tags/[tag label]
to go back to the commit tagged with whatever label you want (e.g.,v1.0.1
). More info here: http://stackoverflow.com/questions/791959/download-a-specific-tag-with-git?lq=1
from tstools.
Wow, thanks for figuring that out! It could have also been me who diverged somehow. I did do a git pull origin master
recently and saw those latest commits. I'll start using the git checkout tags/
to make sure I'm properly on version.
The git fetch origin; git reset --hard origin/master
did clear up the issue.
Plotting phenology without issue--so excited to finally look at the results interactively!
from tstools.
Great!
from tstools.
Related Issues (20)
- Use mixins/composition for TS driver capabilities
- Installation guidance
- Export timeseries to CSV HOT 1
- Deprication warnings
- Error on disconnect HOT 1
- Vagrant setup
- Add class label to plot segments HOT 1
- YATSM saved file reading
- YATSM driver: classify on the fly
- Driver information in configuration HOT 2
- YATSM driver: ACCA scores are retrieved incorrectly
- DOY residual plot
- Add month symbology HOT 1
- Metadata symbology enhancements
- Caching -- don't cache pixels if we read from line cache
- Drivers -- separate data "storage scheme" from "results" HOT 1
- QGIS 2.16 (2.14?) - Python exceptions not shown
- Driver plugin method -- use entry_points HOT 1
- QGIS 2.18.14 - fullscreen missing after enabling the plugin
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 tstools.