Opened 6 years ago

Closed 4 years ago

#482 closed task (fixed)

error checking for missing HDF groups

Reported by: srkline Owned by: srkline
Priority: major Milestone: VSANS File Definition
Component: All Components Keywords:
Cc: Blocking:
Task:

Description

since not all of the groups will be written out - since they will not all exist for all data files collected, I will need some form of general error checking to account for missing fields, both cases, reading and writing.

Change History (1)

comment:1 Changed 4 years ago by srkline

  • Resolution set to fixed
  • Status changed from new to closed

on a case-by-case basis I specifically check.

For numerical fields, I commonly return an error value of -999999 if reading a field that does not exist.

For some fields like the lateral_offset, I simply return zero if I'm trying to (erroneously) read the lateral_offset of a top detector panel.

Note: See TracTickets for help on using tickets.