Comments (6)
Addressed by #14
from mpas-model.
from mpas-model.
Closed by #14
from mpas-model.
A (maybe) bug found in the global cell ID. Currently, the default particle to globalCellID returns a 1-based index of nCell
that the particle is in. I imagine this is due to you pulling from the Fortran code.
Thus, a Python user has to adjust the globalID output to get at the actual cell the particle is within. Not doing so causes drastically different answers, since cells aren't ordered in an "orange peel" fashion to my knowledge.
Perhaps this isn't a bug and rather a design decision. Is the average user analyzing in, e.g. MATLAB and Fortran, or in something 0-based like Python? Something to consider.
from mpas-model.
@bradyrx, all indices in MPAS are 1-index and do need the index -= 1
approach in python prior to their use. This was a pre-existing, across the board design decision that was made. Good catch on this -- it will cause quite a difference if the -1
is not included!
from mpas-model.
@pwolfram , this and #4 should be incorporated into the make_particle_file.py
file so that this information is included in the init file.
from mpas-model.
Related Issues (20)
- Verify that LIGHT works under current 18to6 resolution HOT 1
- Particle entrainment parameterization
- Free floating particle top and bottom cell treatment HOT 1
- Where to set supercycling length? HOT 4
- Add `config_AM_lagrPartTrack_timeIntegration` to E3SM
- Update particle output stream to include global cell ID and lat/lon HOT 1
- Update E3SM defaults following merge HOT 2
- Coarsening horizontal particle resolution currently unfeasible for high resolution HOT 1
- pyAMG coarsening improperly applied in 3 dimensions HOT 4
- New regression suite tests needed for new particle behaviors
- Particle creation script fails if pyamg is not available
- Test automated MPAS script for non-IC clusters
- Cleanup framework helper function
- verticalTreatment should just be dimensions `nParticles` HOT 1
- Append instantaneous velocity to lagrPartTrack output HOT 4
- Scalar interpolation should also include horizontal interpolation HOT 3
- Ensure outputed indexLevels correct HOT 11
- RK4 should be default (in super cycling cases) HOT 2
- Verify global super cycling with RK4 is reasonable HOT 8
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 mpas-model.