Spaces:
Runtime error
Runtime error
Download scripts/clp.js from DeepFundingAgriAI/Field-Monitoring: direct link, hf CLI and curl.
- Browser
- Download file 303 Bytes
-
https://huggingface.co/spaces/DeepFundingAgriAI/Field-Monitoring/resolve/a17d0248fca618bc8a2d02c0dd65511d9857e85b/scripts/clp.js
- Command line
-
hf download hf://spaces/DeepFundingAgriAI/Field-Monitoring@a17d0248fca618bc8a2d02c0dd65511d9857e85b/scripts/clp.js
-
curl -L -o clp.js https://huggingface.co/spaces/DeepFundingAgriAI/Field-Monitoring/resolve/a17d0248fca618bc8a2d02c0dd65511d9857e85b/scripts/clp.js
303 Bytes
| //VERSION=3 | |
| function setup(){ | |
| return{ | |
| input: ["CLP"], | |
| output: [ | |
| { | |
| sampleType: "FLOAT32", | |
| bands: 1 | |
| } | |
| ] | |
| } | |
| } | |
| function evaluatePixel(sample){ | |
| return [sample.CLP/255]; | |
| } |