pwolfram / MPAS-Model

Repository for MPAS models and shared framework releases.
Other
1 stars 1 forks source link

Adds global cell ID tracking to LIGHT #14

Closed pwolfram closed 5 years ago

pwolfram commented 5 years ago

Addresses #5.

pwolfram commented 5 years ago

To use add <var name="currentCellGlobalID"/> to output stream:

<stream name="lagrPartTrackOutput"
        runtime_format="single_file"
        filename_interval="01-00-00_00:00:00"
        clobber_mode="truncate"
        reference_time="0001-01-01_00:00:00"
        output_interval="stream:output:output_interval"
        filename_template="analysis_members/lagrPartTrack.$Y-$M-$D_$h.$m.$s.nc"
        packages="lagrPartTrackAMPKG"
        type="output">

    <var name="xtime"/>
    <var name="indexToParticleID"/>
    <var name="currentBlock"/>
    <var name="currentCell"/>
    <var name="currentCellGlobalID"/>          
    ...
    </stream>                                             
pwolfram commented 5 years ago

Testing

Tested with visual inspection (and spot checking) in ParaView via ziso/20km/default case where flat cells are plotted on hexes and particles are plotted in hexes:

screen shot 2018-10-08 at 1 59 45 pm