Git Product home page Git Product logo

Comments (11)

pwolfram avatar pwolfram commented on July 23, 2024

cc @bradyrx @maltrud

from mpas-model.

pwolfram avatar pwolfram commented on July 23, 2024

@bradyrx, this is just something we should check on #2 before merging and the final production runs.

from mpas-model.

bradyrx avatar bradyrx commented on July 23, 2024

@pwolfram,

A quick check shows that indexLevels are not updated to correspond to particle type. I looked at unique values for indexLevel for a particle output file with passive, surface, and isopycnal floats. We should see [1,3,4] but only see [1] (surface).

Perhaps the issue is here in the make particle file? It looks like it always returns 1.

from mpas-model.

bradyrx avatar bradyrx commented on July 23, 2024

@pwolfram ,

I might be misinterpreting this issue. Looking at verticalTreatment produces [1,3,4] and correctly identifies the particle type. What should indexLevel be printing out?

from mpas-model.

pwolfram avatar pwolfram commented on July 23, 2024

@bradyrx, indexLevel should give the cell id in the vertical corresponding to the z depth of the particle, e.g., an index one can use to understand the boundary box for the particle in the vertical.

from mpas-model.

pwolfram avatar pwolfram commented on July 23, 2024

Just to be clear here-- surface particles should always have an indexLevel=1 (Fortran top-layer of column). But, if we don't have more than one type over all time this means there is a bug in the code and it isn't updated correctly, which seems to be the case because free-floating and isopycnal floats are used.

from mpas-model.

bradyrx avatar bradyrx commented on July 23, 2024

@pwolfram, thanks for the clarification. You are correct. I checked again for the passive, surface, isopycnal case and there is in fact [1, 3, 4] for vertical treatment type but just [1] for indexLevel.

from mpas-model.

pwolfram avatar pwolfram commented on July 23, 2024

@bradyrx, are you aware of any issue with indexLevel output not being correct?

from mpas-model.

bradyrx avatar bradyrx commented on July 23, 2024

@pwolfram , if no updates were made to indexLevel, then my previous comment should hold.

Just re-checked on most recent commit from #21 and this issue still holds. I seeded 20 passive particles in the vertical and ran np.unique on particles.nc and found only [1] for indexLevel.

from mpas-model.

pwolfram avatar pwolfram commented on July 23, 2024

@bradyrx, you never saw indexLevel=0, right? This would be the biggest thing, e.g., it not getting updated properly.

from mpas-model.

bradyrx avatar bradyrx commented on July 23, 2024

@pwolfram, correct. Also just checked the 60-day 240km run and still only have an indexLevel of 1 for all particles over the 60-day integration.

See here:

/lustre/scratch3/turquoise/rileybrady/ACME/cases/GMPAS-IAF.T62_oQU240.grizzly.512o.96i.5ParticleLayers.Ton.Son/run

from mpas-model.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.