bugComparison Plotter to visually evaluate ocean model simulations - Bugs: bug #58816, seawater versus sediment variables

 
 

bug #58816: seawater versus sediment variables

Submitter:  Marco van Hulten <hulten>
Submitted:  Fri 24 Jul 2020 10:08:37 AM UTC
   
 
Severity:  3 - Normal Item Group:  ComPlot issue
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 24 Jul 2020 10:18:56 AM UTC, comment #1: 

Datasets normally only have either sediment or water column data.  So linking the dataset to the domain ("sediment" or "seawater") could be a way forward.

Or a study has to be limited to one 'domain' (implying then a redundancy/overdetermination of 'domain' + 'study').

One large continuum would be nice, but we cannot have seawater depth going from 1000 to 4321 m and then sediment from 4321 to 4321.30 m.  Obviously, depths have to be w.r.t. the seafloor.  (Ocean depth varies and is uncertain/resolution-dependent, and surface waves are higher than 30 cm.)

Marco van Hulten <hulten>
Group administrator
Fri 24 Jul 2020 10:08:37 AM UTC, original submission:  

In `load_data.jnl` we have:

    if `is_element_of_str(datanames, "Archer") and domain eq "sediment"` then

but when plotting the data we loop over all datanames, including "Archer".  For now, we have as a work-around a check in `render_profile.jnl` if ($Archer) exists, not very pretty.  (The check could also be included in 'condition'.)

The crux is that from the one hand we want any variable be valid, in principle, in both the sediment and the seawater.  For instance, TPiC refers to calcium carbonate, either in seawater or sediment.  On the other hand, the location of the data is (longitude, latitude, depth), where 'depth' is ambiguously defined (0 to about 6 km in the seawater, and 0 to about 20 cm in the sediment).  One might look at the units (and/or magnitude):

    let/units=mm Dep_Archer = Depth[d=($Archer)] * 1000 + 1.

So if Dep_($Data) is in cm or mm, the associated variables are likely in the sediment, if it is m or so, they are likely in the seawater.  However, some check needs to be added somewhere; and setting mydep.units does not inform PLOT, but maybe some vertical metric magic could be done to the variable that is plotted... or negative values for sediment, but negative integers are already used for special cases like 2-D model data...

    plot ($rp_Overarg) myvar, mydep

Also, within one 'study' we often want to be able to plot both sediment and seawater variables (but, as of yet, only one at a time, i.e. at every `go c2d_*` command).

Marco van Hulten <hulten>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by hulten (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code