Comments (2)
@sjordan29, this is great stuff. Thanks for finding and figuring out how to use memory_profiler!
I created this complementary issue that documents some of the approaches we discussed this week.
from clearwater-riverine.
A few key findings from the commit above:
- Unsurprisingly, variables with dimensions of ('time', 'nedge') take up the most memory (the number of edges will always be greater than the number of faces (cells))
coeff_to_diffusion
has the largest memory of all the variables, even though it has the same dimensions ('time', 'nedge') as the others. this is because it's afloat64
whereas the others arefloat32
(I think because they are read directly from the HDF file and that must be the precision of the RAS output).- Leveraging dask and lazy loading appears to have trade-offs between memory and time. It was faster to
sel
data from the xarray in memory than from a lazy-loaded xarray (when loading the values). - I still need to do some exploration of the lazy writing. Not currently working as I had expected.
from clearwater-riverine.
Related Issues (20)
- Unit Handling HOT 1
- Improve time stamp reader from the hdf5 file
- Mass Flux Bug at Downstream Boundary HOT 2
- Instantiating Clearwater-Riverine with a config file HOT 5
- Speed up calculation of the `SUM_OF_COEFFICIENTS_TO_DIFFUSION_TERM` HOT 3
- Develop class to handle multiple constituents
- Improve timestep performance
- Investigate impact of increasing time step length on mass balance HOT 1
- Speed up Binary Date Parsing
- Clean up LFS HOT 5
- Comparison of `EDGE_VELOCITY` versus `FLOW_ACROSS_FACE`
- Add wetted surface area to mesh
- Unit Testing
- Set up pre-commit
- reduce matrix size when there are dry cells
- Test 5, 10, 15 timestep for Larger Sumwere Creek HOT 20
- Track percent error in mass balance over time
- Assess ability to run coarser timestep model from fine timestep input
- Correcting HEC-RAS Boundary Errors
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 clearwater-riverine.