mainComparison Plotter to visually evaluate ocean model simulations - Support: sr #110303, interpret one-line CSV headers

 
 

sr #110303: interpret one-line CSV headers

Submitter:  Marco van Hulten <hulten>
Submitted:  Fri 04 Sep 2020 07:53:43 AM UTC
   
 
Category:  data management Priority:  5 - Normal
Severity:  1 - Wish Status:  Postponed
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 04 Sep 2020 07:53:43 AM UTC, original submission:  

Even though one of the ComPlot principles is that both model output and observational data should not need reformatting, recently I decided to impose a 2-line header for data of which the first describes is variables and the second the units.  The goal was automating variable definitions and unit determinations and checks, and this was recently reached (changeset 290:d6c14af7728c).

Only commas, underscores and alphanumerical characters [,_a-zA-Z0-9] are to be expected on the first line.

Very often CSV data are provided with a single header that includes both variables and units (between brackets).  When the first line of a CSV file contains [ ([], we could infer (heuristically) the variables and units (and print a WARNING and/or the list of variables and units inferred).  In light of the original ComPlot principles, such an inference from raw data is a desideratum, probably in addition to the 2-line header method.

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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-09-04 hulten CategoryNone data management

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code