Comments (7)
Currently you'd need to either loop through the bands or use the R package.
from exactextract.
How did you load the nc
file?
from exactextract.
By the following command:
exactextract -r temp:NETCDF:ET_LISFLOOD.nc:Evap \
-p Selected_Elasticity_10YThre.shp \
-f name -s "mean(temp)" -o ET_LISFLOOD2.csv
from exactextract.
Oops, I saw this in my email and thought it was referring to https://github.com/isciences/exactextractr . Currently the command-line version processes only a single band. You can specify the band manually, e.g., temp:NETCDF:ET_LISFLOOD.nc:Evap[2]
, and loop over all bands.
If you want to easily process all of the bands at once, maybe give the R package a try.
Here is a minimal example of the R usage: https://gist.github.com/dbaston/26e8b739dd2549cf1a4c9718981354d3
from exactextract.
Thanks for your script.
from exactextract.
So, is there any solution for exactextract to retrieve data from multiple dates from a netcdf file?
from exactextract.
Got it. The program is awesome -- very fast. For python it may be a good replacement for rasterstats, which is very good too, but terrible slow.
from exactextract.
Related Issues (20)
- Frac might return also the nodata value inside a polygon HOT 9
- When use frac, the universe of pixels per each class is near to 1 but not exactly 1 HOT 1
- Official Release? HOT 1
- Any thoughts on how to force compilation for x86_64 on macOS? HOT 3
- Output histogram as tuple-formatted string as separate column? HOT 2
- Missing Fraction Statistic HOT 1
- 'variety' metric only works when its added first from the command line HOT 2
- Installation error: implicit instantiation of undefined template HOT 1
- Migrate CI to GitHub actions
- Error raised when calling a raster with multiple data variables HOT 6
- Error: Cannot shrink extent to bounds larger than original. HOT 1
- Python: Declare `project.ini` to be included as part of sdist HOT 4
- Python: Perf thoughts HOT 3
- Python: Documentation building does to respect CMAKE Flag
- Installation in Git Bash HOT 2
- Compilation failure with gcc 9 HOT 2
- Python: availability on PyPI HOT 6
- Docker image build - fail - pybind11 not found HOT 1
- Add functionality to convert nodata to a fixed value HOT 1
- Test fails on Mac M3 HOT 3
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 exactextract.