forked from IMAP-Science-Operations-Center/imap_processing
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup CDF dataclass (IMAP-Science-Operations-Center#714)
updated remaining CDF for codice, lo, hi, hit, swapi, mag, ultra
- Loading branch information
Showing
30 changed files
with
350 additions
and
1,998 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from imap_processing.cdf.imap_cdf_manager import ImapCdfAttributes | ||
|
||
# Load Epoch CDF attributes | ||
cdf_manager = ImapCdfAttributes() | ||
epoch_attrs = cdf_manager.get_variable_attributes("epoch") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# By default the time is assumed to correspond to instantaneous time or | ||
# center of accumulation/measurement period. But if, for some good reason, | ||
# time corresponds to the beginning or end or any other part of | ||
# accumulation/measurement period, that has to be stated in CATDESC. | ||
epoch: | ||
CATDESC: Time, number of nanoseconds since J2000 with leap seconds included | ||
FIELDNAM: epoch | ||
LABLAXIS: epoch | ||
FILLVAL: -9223372036854775808 | ||
FORMAT: " " # Supposedly not required, fails in xarray_to_cdf | ||
VALIDMIN: -9223372036854775808 | ||
VALIDMAX: 9223372036854775807 | ||
UNITS: ns | ||
VAR_TYPE: support_data | ||
SCALETYP: linear | ||
MONOTON: INCREASE | ||
TIME_BASE: J2000 | ||
TIME_SCALE: Terrestrial Time | ||
REFERENCE_POSITION: Rotating Earth Geoid | ||
|
||
# <=== Data Variables ===> | ||
# Default Attrs for all metadata variables unless overridden | ||
metadata_attrs: | ||
DEPEND_0: epoch | ||
DISPLAY_TYPE: 'no_plot' | ||
LABLAXIS: ' ' | ||
FILLVAL: -9223372036854775808 | ||
FORMAT: I19 | ||
UNITS: ' ' | ||
VALIDMIN: 0 | ||
VALIDMAX: 9223372036854769664 | ||
VAR_TYPE: support_data | ||
SCALETYP: linear |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
imap_processing/cdf/config/imap_ultra_l1a_variable_attrs.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# <=== Coordinates ===> | ||
# TODO: revisit this whole file | ||
ultra_metadata_attrs: | ||
CATDESC: metadata # TODO: revisit this | ||
FIELDNAM: metadata # TODO: revisit this | ||
FILLVAL: -9223370000000000000 | ||
FORMAT: I19 | ||
LABLAXIS: Metadata | ||
SCALE_TYP: linear | ||
UNITS: " " | ||
VALIDMIN: -9223372036854775808 | ||
VALIDMAX: 9223372036854775807 | ||
VAR_TYPE: support_data | ||
DISPLAY_TYPE: time_series | ||
|
||
ultra_support_attrs: | ||
CATDESC: Metadata for Ultra data | ||
FIELDNAM: metadata | ||
FILLVAL: -9223370000000000000 | ||
FORMAT: I19 | ||
LABLAXIS: "none" | ||
SCALE_TYP: linear | ||
UNITS: " " | ||
VALIDMIN: -9223372036854775808 | ||
VALIDMAX: 9223372036854775807 | ||
VAR_TYPE: support_data | ||
DISPLAY_TYPE: time_series | ||
|
||
string_base_attrs: | ||
CATDESC: string metadata | ||
FIELDNAM: string_metadata | ||
FORMAT: A80 | ||
VAR_TYPE: metadata | ||
DISPLAY_TYPE: no_plot | ||
DEPEND_0: epoch | ||
|
||
packet_data_attrs: | ||
CATDESC: packet data | ||
FIELDNAM: packet_data | ||
FILLVAL: -9223370000000000000 | ||
FORMAT: I19 | ||
LABLAXIS: "none" | ||
SCALE_TYP: linear | ||
VALIDMIN: -9223372036854775808 | ||
VALIDMAX: 9223372036854775807 | ||
VAR_TYPE: support_data | ||
DISPLAY_TYPE: time_series | ||
DEPEND_0: epoch | ||
DEPEND_1: sid | ||
DEPEND_2: row | ||
DEPEND_3: column | ||
UNITS: pixels |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.