davidfrantz / force-udf Goto Github PK
View Code? Open in Web Editor NEWUser-Defined Functions for FORCE
License: GNU General Public License v3.0
User-Defined Functions for FORCE
License: GNU General Public License v3.0
FORCE 3.9.7
I have two parameter files, one was generated by TSA module, the other was generated with UDF module. Both have the same specs, and point to the same python script. I specified the INDEX=NDVI, SENSOR = LND5,7,8 in both parameter files.
When I ran the python script with TSA prm file, the inarray (PIXEL) has shape (nDates, 1, 1, 1) which is expected
However, when I ran the same script with UDF prm file, the inarray has shape (nDates, 6, 1, 1) which I think 6 here is the 6 bands from Landsat data, which I did not want. Also, no matter what I specified in the INDEX, it always returns exactly 6 bands
Is this intended to have different behaviours for running UDF from different modules?
There seems to be a bug in the mowing detection python UDF that can cause no output when a date too early in the season is included:
davidfrantz/force#318 (reply in thread)
Apparently, the workaround is to use the DOY_RANGE parameters to mitigate this, but a proper fix might be the better solution.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.