Comments (5)
This is true and is an issue. A short term fix would be to fiddle in the tiffio library, but I am loath to do that as tiffio has significant limitations and is at a dead end. A longer term fix that we are working on is to replace the use of tiffio library with the GDAL library. Then hopefully this and other I/O issues will be resolved. I am hoping that we can get to this in the next few months. Until then the workaround of computing statistics afterwards will have to suffice, unless there is someone who can get to the implementation of GDAL as an IO library before us.
from taudem.
Great to hear plans to use GDAL; GDALRasterBand::ComputeStatistics is the function to do this.
from taudem.
@nazmussazib please check if the GDAL implementation resolves this. Please evaluate whether GDALRasterBand::ComputeStatistics should be performed on each raster output by TauDEM and implement if necessary. The current strategy is
- Python script is called by ArcGIS toolbox tools.
- Python script calls TauDEM C++ command line function.
- Python script runs compute statistics on result.
The limitation of this is that statistics are only evaluated automatically in the ArcGIS implementation.
Including ComputeStatistics in the C++ command line functions would make statistics available to all deployments, not only ArcGIS, however there may be a computational hit, and the parallel large grid performance is unknown and needs to be evaluated.
from taudem.
Closing. GDAL implementation will have resolved the incorrect statistics from tiffio. Our C++ code does not compute statistics. It is unclear whether GDAL does this internally, but even if not I am loathe to fiddle without a pressing concern. There is always the option to run a separate GDAL function to compute statistics, and one could argue this is better anyway as not all codes need to be burdened by statistics evaluation.
from taudem.
GDAL does not automatically calculate statistics, and I think it's best to leave that to the users to figure out.
from taudem.
Related Issues (20)
- Different DEM resolutions result in different stream networks for fixed threshold HOT 2
- MPI > 3.0... MPI_Type_extent to MPI_Type_get_extent HOT 1
- Outlets in Slope Area Stream Definition not working. HOT 2
- InunMap executable not created during compile HOT 3
- Process refusing to die? HOT 1
- Burned flow direction HOT 4
- updateParameters Execution Error HOT 4
- Parameters Execution Error: Runtime error Traceback HOT 3
- job abortion when run aread8 HOT 2
- Stream Reach and Watershed HOT 1
- Error in GNU/Linux Ubuntu 22.04 HOT 2
- Pit Remove failed HOT 1
- ERROR TauDEM 000732 HOT 3
- ERROR 000732: Input Raster Dataset #19 HOT 1
- D-infinite Transport limited accumulation returns no value on some cells HOT 5
- aread8 difference in GDAL versions > 3.4.3 HOT 1
- Pit removel does not work with -depmask HOT 4
- PitRemoven.cpp not buiding
- DropAnalysis HOT 3
- Gaps in GageWatershed outputs HOT 6
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 taudem.