imap-processing 0.6.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- imap_processing/__init__.py +34 -0
- imap_processing/_version.py +3 -0
- imap_processing/ccsds/__init__.py +0 -0
- imap_processing/ccsds/ccsds_data.py +55 -0
- imap_processing/ccsds/excel_to_xtce.py +477 -0
- imap_processing/cdf/__init__.py +0 -0
- imap_processing/cdf/cdf_attribute_manager.py +322 -0
- imap_processing/cdf/config/imap_codice_global_cdf_attrs.yaml +212 -0
- imap_processing/cdf/config/imap_codice_l1a_variable_attrs.yaml +1358 -0
- imap_processing/cdf/config/imap_codice_l1b_variable_attrs.yaml +391 -0
- imap_processing/cdf/config/imap_constant_attrs.yaml +33 -0
- imap_processing/cdf/config/imap_default_global_cdf_attrs.yaml +17 -0
- imap_processing/cdf/config/imap_glows_global_cdf_attrs.yaml +41 -0
- imap_processing/cdf/config/imap_glows_l1a_variable_attrs.yaml +499 -0
- imap_processing/cdf/config/imap_glows_l1b_variable_attrs.yaml +334 -0
- imap_processing/cdf/config/imap_hi_global_cdf_attrs.yaml +51 -0
- imap_processing/cdf/config/imap_hi_variable_attrs.yaml +435 -0
- imap_processing/cdf/config/imap_hit_global_cdf_attrs.yaml +27 -0
- imap_processing/cdf/config/imap_hit_l1a_variable_attrs.yaml +493 -0
- imap_processing/cdf/config/imap_hit_l1b_variable_attrs.yaml +564 -0
- imap_processing/cdf/config/imap_idex_global_cdf_attrs.yaml +24 -0
- imap_processing/cdf/config/imap_idex_l1a_variable_attrs.yaml +426 -0
- imap_processing/cdf/config/imap_lo_global_cdf_attrs.yaml +90 -0
- imap_processing/cdf/config/imap_lo_l1a_variable_attrs.yaml +487 -0
- imap_processing/cdf/config/imap_lo_l1b_variable_attrs.yaml +121 -0
- imap_processing/cdf/config/imap_lo_l1c_variable_attrs.yaml +179 -0
- imap_processing/cdf/config/imap_mag_global_cdf_attrs.yaml +97 -0
- imap_processing/cdf/config/imap_mag_l1_variable_attrs.yaml +201 -0
- imap_processing/cdf/config/imap_swapi_global_cdf_attrs.yaml +33 -0
- imap_processing/cdf/config/imap_swapi_variable_attrs.yaml +137 -0
- imap_processing/cdf/config/imap_swe_global_cdf_attrs.yaml +24 -0
- imap_processing/cdf/config/imap_swe_l1a_variable_attrs.yaml +234 -0
- imap_processing/cdf/config/imap_swe_l1b_variable_attrs.yaml +273 -0
- imap_processing/cdf/config/imap_ultra_global_cdf_attrs.yaml +100 -0
- imap_processing/cdf/config/imap_ultra_l1a_variable_attrs.yaml +52 -0
- imap_processing/cdf/config/imap_ultra_l1b_variable_attrs.yaml +297 -0
- imap_processing/cdf/config/imap_ultra_l1c_variable_attrs.yaml +121 -0
- imap_processing/cdf/config/shared/default_global_cdf_attrs_schema.yaml +246 -0
- imap_processing/cdf/config/shared/default_variable_cdf_attrs_schema.yaml +466 -0
- imap_processing/cdf/imap_cdf_manager.py +64 -0
- imap_processing/cdf/utils.py +147 -0
- imap_processing/cli.py +863 -0
- imap_processing/codice/__init__.py +1 -0
- imap_processing/codice/codice_l0.py +54 -0
- imap_processing/codice/codice_l1a.py +558 -0
- imap_processing/codice/codice_l1b.py +194 -0
- imap_processing/codice/constants.py +986 -0
- imap_processing/codice/data/esa_sweep_values.csv +257 -0
- imap_processing/codice/data/lo_stepping_values.csv +129 -0
- imap_processing/codice/decompress.py +142 -0
- imap_processing/codice/packet_definitions/P_COD_NHK.xml +618 -0
- imap_processing/codice/packet_definitions/codice_packet_definition.xml +5073 -0
- imap_processing/codice/utils.py +95 -0
- imap_processing/decom.py +40 -0
- imap_processing/glows/__init__.py +1 -0
- imap_processing/glows/ancillary/l1b_conversion_table_v001.json +42 -0
- imap_processing/glows/l0/__init__.py +0 -0
- imap_processing/glows/l0/decom_glows.py +91 -0
- imap_processing/glows/l0/glows_l0_data.py +194 -0
- imap_processing/glows/l1a/glows_l1a.py +424 -0
- imap_processing/glows/l1a/glows_l1a_data.py +555 -0
- imap_processing/glows/l1b/glows_l1b.py +270 -0
- imap_processing/glows/l1b/glows_l1b_data.py +583 -0
- imap_processing/glows/packet_definitions/GLX_COMBINED.xml +254 -0
- imap_processing/glows/packet_definitions/P_GLX_TMSCDE.xml +97 -0
- imap_processing/glows/packet_definitions/P_GLX_TMSCHIST.xml +215 -0
- imap_processing/glows/utils/__init__.py +0 -0
- imap_processing/glows/utils/constants.py +105 -0
- imap_processing/hi/__init__.py +1 -0
- imap_processing/hi/l0/__init__.py +0 -0
- imap_processing/hi/l0/decom_hi.py +24 -0
- imap_processing/hi/l1a/__init__.py +0 -0
- imap_processing/hi/l1a/hi_l1a.py +73 -0
- imap_processing/hi/l1a/histogram.py +142 -0
- imap_processing/hi/l1a/housekeeping.py +27 -0
- imap_processing/hi/l1a/science_direct_event.py +341 -0
- imap_processing/hi/l1b/__init__.py +0 -0
- imap_processing/hi/l1b/hi_eng_unit_convert_table.csv +154 -0
- imap_processing/hi/l1b/hi_l1b.py +127 -0
- imap_processing/hi/l1c/__init__.py +0 -0
- imap_processing/hi/l1c/hi_l1c.py +228 -0
- imap_processing/hi/packet_definitions/__init__.py +0 -0
- imap_processing/hi/packet_definitions/hi_packet_definition.xml +482 -0
- imap_processing/hi/utils.py +27 -0
- imap_processing/hit/__init__.py +1 -0
- imap_processing/hit/l0/__init__.py +0 -0
- imap_processing/hit/l0/data_classes/housekeeping.py +240 -0
- imap_processing/hit/l0/data_classes/science_packet.py +259 -0
- imap_processing/hit/l0/decom_hit.py +467 -0
- imap_processing/hit/l0/utils/hit_base.py +57 -0
- imap_processing/hit/l1a/__init__.py +0 -0
- imap_processing/hit/l1a/hit_l1a.py +254 -0
- imap_processing/hit/l1b/hit_l1b.py +179 -0
- imap_processing/hit/packet_definitions/hit_packet_definitions.xml +1276 -0
- imap_processing/ialirt/__init__.py +0 -0
- imap_processing/ialirt/l0/__init__.py +0 -0
- imap_processing/ialirt/l0/process_hit.py +220 -0
- imap_processing/ialirt/packet_definitions/__init__.py +0 -0
- imap_processing/ialirt/packet_definitions/ialirt.xml +778 -0
- imap_processing/ialirt/packet_definitions/ialirt_hit.xml +186 -0
- imap_processing/idex/__init__.py +2 -0
- imap_processing/idex/idex_constants.py +27 -0
- imap_processing/idex/idex_l0.py +31 -0
- imap_processing/idex/idex_l1a.py +631 -0
- imap_processing/idex/packet_definitions/idex_packet_definition.xml +3162 -0
- imap_processing/lo/__init__.py +1 -0
- imap_processing/lo/l0/__init__.py +0 -0
- imap_processing/lo/l0/data_classes/science_direct_events.py +215 -0
- imap_processing/lo/l0/data_classes/star_sensor.py +98 -0
- imap_processing/lo/l0/decompression_tables/12_to_16_bit.csv +4097 -0
- imap_processing/lo/l0/decompression_tables/8_to_12_bit.csv +257 -0
- imap_processing/lo/l0/decompression_tables/8_to_16_bit.csv +257 -0
- imap_processing/lo/l0/decompression_tables/decompression_tables.py +75 -0
- imap_processing/lo/l0/lo_apid.py +15 -0
- imap_processing/lo/l0/lo_science.py +150 -0
- imap_processing/lo/l0/utils/binary_string.py +59 -0
- imap_processing/lo/l0/utils/bit_decompression.py +62 -0
- imap_processing/lo/l0/utils/lo_base.py +57 -0
- imap_processing/lo/l1a/__init__.py +0 -0
- imap_processing/lo/l1a/lo_l1a.py +157 -0
- imap_processing/lo/l1b/lo_l1b.py +160 -0
- imap_processing/lo/l1c/lo_l1c.py +180 -0
- imap_processing/lo/packet_definitions/lo_xtce.xml +3541 -0
- imap_processing/mag/__init__.py +2 -0
- imap_processing/mag/constants.py +108 -0
- imap_processing/mag/l0/decom_mag.py +170 -0
- imap_processing/mag/l0/mag_l0_data.py +118 -0
- imap_processing/mag/l1a/mag_l1a.py +317 -0
- imap_processing/mag/l1a/mag_l1a_data.py +1007 -0
- imap_processing/mag/l1b/__init__.py +0 -0
- imap_processing/mag/l1b/imap_calibration_mag_20240229_v01.cdf +0 -0
- imap_processing/mag/l1b/mag_l1b.py +125 -0
- imap_processing/mag/l1c/mag_l1c.py +57 -0
- imap_processing/mag/packet_definitions/MAG_SCI_COMBINED.xml +235 -0
- imap_processing/quality_flags.py +91 -0
- imap_processing/spice/__init__.py +1 -0
- imap_processing/spice/geometry.py +322 -0
- imap_processing/spice/kernels.py +459 -0
- imap_processing/spice/time.py +72 -0
- imap_processing/swapi/__init__.py +1 -0
- imap_processing/swapi/l1/__init__.py +0 -0
- imap_processing/swapi/l1/swapi_l1.py +685 -0
- imap_processing/swapi/l2/__init__.py +0 -0
- imap_processing/swapi/l2/swapi_l2.py +107 -0
- imap_processing/swapi/packet_definitions/__init__.py +0 -0
- imap_processing/swapi/packet_definitions/swapi_packet_definition.xml +708 -0
- imap_processing/swapi/swapi_utils.py +25 -0
- imap_processing/swe/__init__.py +1 -0
- imap_processing/swe/l1a/__init__.py +0 -0
- imap_processing/swe/l1a/swe_l1a.py +48 -0
- imap_processing/swe/l1a/swe_science.py +223 -0
- imap_processing/swe/l1b/engineering_unit_convert_table.csv +65 -0
- imap_processing/swe/l1b/swe_esa_lookup_table.csv +1441 -0
- imap_processing/swe/l1b/swe_l1b.py +49 -0
- imap_processing/swe/l1b/swe_l1b_science.py +557 -0
- imap_processing/swe/packet_definitions/__init__.py +0 -0
- imap_processing/swe/packet_definitions/swe_packet_definition.xml +303 -0
- imap_processing/swe/utils/__init__.py +0 -0
- imap_processing/swe/utils/swe_utils.py +9 -0
- imap_processing/tests/__init__.py +0 -0
- imap_processing/tests/ccsds/test_data/expected_output.xml +171 -0
- imap_processing/tests/ccsds/test_excel_to_xtce.py +285 -0
- imap_processing/tests/cdf/__init__.py +0 -0
- imap_processing/tests/cdf/imap_default_global_cdf_attrs.yaml +8 -0
- imap_processing/tests/cdf/shared/default_global_cdf_attrs_schema.yaml +246 -0
- imap_processing/tests/cdf/shared/default_variable_cdf_attrs_schema.yaml +466 -0
- imap_processing/tests/cdf/test_cdf_attribute_manager.py +353 -0
- imap_processing/tests/cdf/test_data/imap_default_global_test_cdf_attrs.yaml +7 -0
- imap_processing/tests/cdf/test_data/imap_instrument1_global_cdf_attrs.yaml +14 -0
- imap_processing/tests/cdf/test_data/imap_instrument1_level1_variable_attrs.yaml +23 -0
- imap_processing/tests/cdf/test_data/imap_instrument2_global_cdf_attrs.yaml +23 -0
- imap_processing/tests/cdf/test_data/imap_instrument2_level2_variable_attrs.yaml +30 -0
- imap_processing/tests/cdf/test_data/imap_test_global.yaml +26 -0
- imap_processing/tests/cdf/test_data/imap_test_variable.yaml +41 -0
- imap_processing/tests/cdf/test_imap_cdf_manager.py +62 -0
- imap_processing/tests/cdf/test_utils.py +109 -0
- imap_processing/tests/codice/__init__.py +0 -0
- imap_processing/tests/codice/conftest.py +56 -0
- imap_processing/tests/codice/data/eu_unit_lookup_table.csv +101 -0
- imap_processing/tests/codice/data/idle_export_eu.COD_NHK_20230822_122700 2.csv +100 -0
- imap_processing/tests/codice/data/idle_export_raw.COD_NHK_20230822_122700.csv +100 -0
- imap_processing/tests/codice/data/imap_codice_l0_hi-counters-aggregated_20240429_v001.pkts +0 -0
- imap_processing/tests/codice/data/imap_codice_l0_hi-counters-singles_20240429_v001.pkts +0 -0
- imap_processing/tests/codice/data/imap_codice_l0_hi-omni_20240429_v001.pkts +0 -0
- imap_processing/tests/codice/data/imap_codice_l0_hi-pha_20240429_v001.pkts +0 -0
- imap_processing/tests/codice/data/imap_codice_l0_hi-sectored_20240429_v001.pkts +0 -0
- imap_processing/tests/codice/data/imap_codice_l0_hskp_20100101_v001.pkts +0 -0
- imap_processing/tests/codice/data/imap_codice_l0_lo-counters-aggregated_20240429_v001.pkts +0 -0
- imap_processing/tests/codice/data/imap_codice_l0_lo-counters-singles_20240429_v001.pkts +0 -0
- imap_processing/tests/codice/data/imap_codice_l0_lo-nsw-angular_20240429_v001.pkts +0 -0
- imap_processing/tests/codice/data/imap_codice_l0_lo-nsw-priority_20240429_v001.pkts +0 -0
- imap_processing/tests/codice/data/imap_codice_l0_lo-nsw-species_20240429_v001.pkts +0 -0
- imap_processing/tests/codice/data/imap_codice_l0_lo-pha_20240429_v001.pkts +0 -0
- imap_processing/tests/codice/data/imap_codice_l0_lo-sw-angular_20240429_v001.pkts +0 -0
- imap_processing/tests/codice/data/imap_codice_l0_lo-sw-priority_20240429_v001.pkts +0 -0
- imap_processing/tests/codice/data/imap_codice_l0_lo-sw-species_20240429_v001.pkts +0 -0
- imap_processing/tests/codice/data/imap_codice_l1a_hi-counters-aggregated_20240429_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1a_hi-counters-singles_20240429_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1a_hi-omni_20240429_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1a_hi-sectored_20240429_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1a_hskp_20100101_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1a_lo-counters-aggregated_20240429_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1a_lo-counters-singles_20240429_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1a_lo-nsw-angular_20240429_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1a_lo-nsw-priority_20240429_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1a_lo-nsw-species_20240429_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1a_lo-sw-angular_20240429_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1a_lo-sw-priority_20240429_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1a_lo-sw-species_20240429_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1b_hi-counters-aggregated_20240429_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1b_hi-counters-singles_20240429_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1b_hi-omni_20240429_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1b_hi-sectored_20240429_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1b_hskp_20100101_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1b_lo-counters-aggregated_20240429_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1b_lo-counters-singles_20240429_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1b_lo-nsw-angular_20240429_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1b_lo-nsw-priority_20240429_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1b_lo-nsw-species_20240429_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1b_lo-sw-angular_20240429_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1b_lo-sw-priority_20240429_v001.cdf +0 -0
- imap_processing/tests/codice/data/imap_codice_l1b_lo-sw-species_20240429_v001.cdf +0 -0
- imap_processing/tests/codice/test_codice_l0.py +144 -0
- imap_processing/tests/codice/test_codice_l1a.py +187 -0
- imap_processing/tests/codice/test_codice_l1b.py +60 -0
- imap_processing/tests/codice/test_decompress.py +50 -0
- imap_processing/tests/conftest.py +372 -0
- imap_processing/tests/glows/direct_events_validation_data_l1a.csv +5704 -0
- imap_processing/tests/glows/glows_test_packet_20110921_v01.pkts +0 -0
- imap_processing/tests/glows/test_glows_decom.py +133 -0
- imap_processing/tests/glows/test_glows_l1a_cdf.py +85 -0
- imap_processing/tests/glows/test_glows_l1a_data.py +510 -0
- imap_processing/tests/glows/test_glows_l1b.py +348 -0
- imap_processing/tests/glows/test_glows_l1b_data.py +70 -0
- imap_processing/tests/hi/__init__.py +0 -0
- imap_processing/tests/hi/conftest.py +133 -0
- imap_processing/tests/hi/test_data/l0/20231030_H45_APP_NHK.bin +0 -0
- imap_processing/tests/hi/test_data/l0/20231030_H45_APP_NHK.csv +201 -0
- imap_processing/tests/hi/test_data/l0/20231030_H45_SCI_CNT.bin +0 -0
- imap_processing/tests/hi/test_data/l0/20231030_H45_SCI_DE.bin +0 -0
- imap_processing/tests/hi/test_data/l0/README.txt +54 -0
- imap_processing/tests/hi/test_decom.py +55 -0
- imap_processing/tests/hi/test_hi_l1b.py +31 -0
- imap_processing/tests/hi/test_hi_l1c.py +69 -0
- imap_processing/tests/hi/test_l1a.py +96 -0
- imap_processing/tests/hi/test_l1a_sci_de.py +72 -0
- imap_processing/tests/hi/test_utils.py +15 -0
- imap_processing/tests/hit/PREFLIGHT_raw_record_2023_256_15_59_04_apid1251.pkts +0 -0
- imap_processing/tests/hit/PREFLIGHT_raw_record_2023_256_15_59_04_apid1252.pkts +0 -0
- imap_processing/tests/hit/__init__.py +0 -0
- imap_processing/tests/hit/test_data/imap_hit_l0_hk_20100105_v001.pkts +0 -0
- imap_processing/tests/hit/test_data/sci_sample.ccsds +0 -0
- imap_processing/tests/hit/test_hit_decom.py +230 -0
- imap_processing/tests/hit/test_hit_l1a.py +224 -0
- imap_processing/tests/hit/test_hit_l1b.py +52 -0
- imap_processing/tests/hit/validation_data/hskp_sample_raw.csv +88 -0
- imap_processing/tests/ialirt/__init__.py +0 -0
- imap_processing/tests/ialirt/test_data/l0/IALiRT Raw Packet Telemetry.txt +33 -0
- imap_processing/tests/ialirt/test_data/l0/hit_ialirt_sample.ccsds +0 -0
- imap_processing/tests/ialirt/test_data/l0/hit_ialirt_sample.csv +1001 -0
- imap_processing/tests/ialirt/unit/__init__.py +0 -0
- imap_processing/tests/ialirt/unit/test_decom_ialirt.py +94 -0
- imap_processing/tests/ialirt/unit/test_process_hit.py +226 -0
- imap_processing/tests/idex/__init__.py +0 -0
- imap_processing/tests/idex/conftest.py +22 -0
- imap_processing/tests/idex/imap_idex_l0_raw_20230725_v001.pkts +0 -0
- imap_processing/tests/idex/impact_14_tof_high_data.txt +8189 -0
- imap_processing/tests/idex/test_idex_l0.py +45 -0
- imap_processing/tests/idex/test_idex_l1a.py +91 -0
- imap_processing/tests/lo/__init__.py +0 -0
- imap_processing/tests/lo/test_binary_string.py +21 -0
- imap_processing/tests/lo/test_bit_decompression.py +39 -0
- imap_processing/tests/lo/test_cdfs/imap_lo_l0_raw_20240627_v001.pkts +0 -0
- imap_processing/tests/lo/test_cdfs/imap_lo_l1a_de_20100101_v001.cdf +0 -0
- imap_processing/tests/lo/test_cdfs/imap_lo_l1a_spin_20100101_v001.cdf +0 -0
- imap_processing/tests/lo/test_cdfs/imap_lo_l1b_de_20100101_v001.cdf +0 -0
- imap_processing/tests/lo/test_lo_l1a.py +66 -0
- imap_processing/tests/lo/test_lo_l1b.py +74 -0
- imap_processing/tests/lo/test_lo_l1c.py +66 -0
- imap_processing/tests/lo/test_science_counts.py +41 -0
- imap_processing/tests/lo/test_science_direct_events.py +209 -0
- imap_processing/tests/lo/test_star_sensor.py +35 -0
- imap_processing/tests/mag/imap_mag_l1a_burst-magi_20231025_v001.cdf +0 -0
- imap_processing/tests/mag/mag_l0_test_data.pkts +0 -0
- imap_processing/tests/mag/mag_l0_test_output.csv +37 -0
- imap_processing/tests/mag/mag_l1_test_data.pkts +0 -0
- imap_processing/tests/mag/mag_l1a_test_output.csv +97 -0
- imap_processing/tests/mag/test_mag_decom.py +117 -0
- imap_processing/tests/mag/test_mag_l1a.py +856 -0
- imap_processing/tests/mag/test_mag_l1b.py +77 -0
- imap_processing/tests/mag/test_mag_l1c.py +40 -0
- imap_processing/tests/spice/__init__.py +0 -0
- imap_processing/tests/spice/test_data/imap_ena_sim_metakernel.template +4 -0
- imap_processing/tests/spice/test_data/imap_science_0001.tf +171 -0
- imap_processing/tests/spice/test_data/imap_sclk_0000.tsc +156 -0
- imap_processing/tests/spice/test_data/imap_sim_ck_2hr_2secsampling_with_nutation.bc +0 -0
- imap_processing/tests/spice/test_data/imap_simple_metakernel.template +3 -0
- imap_processing/tests/spice/test_data/imap_spk_demo.bsp +0 -0
- imap_processing/tests/spice/test_data/imap_wkcp.tf +1806 -0
- imap_processing/tests/spice/test_data/naif0012.tls +150 -0
- imap_processing/tests/spice/test_data/sim_1yr_imap_attitude.bc +0 -0
- imap_processing/tests/spice/test_data/sim_1yr_imap_pointing_frame.bc +0 -0
- imap_processing/tests/spice/test_geometry.py +214 -0
- imap_processing/tests/spice/test_kernels.py +272 -0
- imap_processing/tests/spice/test_time.py +35 -0
- imap_processing/tests/swapi/__init__.py +0 -0
- imap_processing/tests/swapi/conftest.py +16 -0
- imap_processing/tests/swapi/l0_data/__init__.py +0 -0
- imap_processing/tests/swapi/l0_data/imap_swapi_l0_raw_20231012_v001.pkts +0 -0
- imap_processing/tests/swapi/l0_validation_data/__init__.py +0 -0
- imap_processing/tests/swapi/l0_validation_data/idle_export_eu.SWP_AUT_20231012_125245.csv +124 -0
- imap_processing/tests/swapi/l0_validation_data/idle_export_eu.SWP_HK_20231012_125245.csv +98 -0
- imap_processing/tests/swapi/l0_validation_data/idle_export_eu.SWP_MG_20231012_125245.csv +9 -0
- imap_processing/tests/swapi/l0_validation_data/idle_export_eu.SWP_SCI_20231012_125245.csv +72 -0
- imap_processing/tests/swapi/l0_validation_data/idle_export_raw.SWP_AUT_20231012_125245.csv +124 -0
- imap_processing/tests/swapi/l0_validation_data/idle_export_raw.SWP_HK_20231012_125245.csv +98 -0
- imap_processing/tests/swapi/l0_validation_data/idle_export_raw.SWP_MG_20231012_125245.csv +9 -0
- imap_processing/tests/swapi/l0_validation_data/idle_export_raw.SWP_SCI_20231012_125245.csv +72 -0
- imap_processing/tests/swapi/test_swapi_decom.py +135 -0
- imap_processing/tests/swapi/test_swapi_l1.py +354 -0
- imap_processing/tests/swapi/test_swapi_l2.py +21 -0
- imap_processing/tests/swe/__init__.py +0 -0
- imap_processing/tests/swe/conftest.py +35 -0
- imap_processing/tests/swe/decompressed/20230927173238_4th_quarter_decompressed.csv +181 -0
- imap_processing/tests/swe/decompressed/20230927173253_1st_quarter_decompressed.csv +181 -0
- imap_processing/tests/swe/decompressed/20230927173308_2nd_quarter_decompressed.csv +181 -0
- imap_processing/tests/swe/decompressed/20230927173323_3rd_quarter_decompressed.csv +181 -0
- imap_processing/tests/swe/l0_data/2024051010_SWE_SCIENCE_packet.bin +0 -0
- imap_processing/tests/swe/l0_validation_data/idle_export_eu.SWE_SCIENCE_20240510_092742.csv +544 -0
- imap_processing/tests/swe/l0_validation_data/idle_export_raw.SWE_SCIENCE_20240510_092742.csv +363 -0
- imap_processing/tests/swe/test_swe_l1a.py +12 -0
- imap_processing/tests/swe/test_swe_l1a_science.py +129 -0
- imap_processing/tests/swe/test_swe_l1b.py +61 -0
- imap_processing/tests/swe/test_swe_l1b_science.py +65 -0
- imap_processing/tests/test_cli.py +229 -0
- imap_processing/tests/test_decom.py +66 -0
- imap_processing/tests/test_quality_flags.py +71 -0
- imap_processing/tests/test_utils.py +107 -0
- imap_processing/tests/ultra/__init__.py +0 -0
- imap_processing/tests/ultra/test_data/l0/FM45_40P_Phi28p5_BeamCal_LinearScan_phi28.50_theta-0.00_20240207T102740.CCSDS +0 -0
- imap_processing/tests/ultra/test_data/l0/FM45_7P_Phi0.0_BeamCal_LinearScan_phi0.04_theta-0.01_20230821T121304.CCSDS +0 -0
- imap_processing/tests/ultra/test_data/l0/FM45_TV_Cycle6_Hot_Ops_Front212_20240124T063837.CCSDS +0 -0
- imap_processing/tests/ultra/test_data/l0/Ultra45_EM_SwRI_Cal_Run7_ThetaScan_20220530T225054.CCSDS +0 -0
- imap_processing/tests/ultra/test_data/l0/ultra45_raw_sc_auxdata_Ultra45_EM_SwRI_Cal_Run7_ThetaScan_20220530T225054.csv +24 -0
- imap_processing/tests/ultra/test_data/l0/ultra45_raw_sc_enaphxtofhangimg_FM45_TV_Cycle6_Hot_Ops_Front212_20240124T063837.csv +105 -0
- imap_processing/tests/ultra/test_data/l0/ultra45_raw_sc_ultraimgrates_Ultra45_EM_SwRI_Cal_Run7_ThetaScan_20220530T225054.csv +24 -0
- imap_processing/tests/ultra/test_data/l0/ultra45_raw_sc_ultrarawimg_withFSWcalcs_FM45_40P_Phi28p5_BeamCal_LinearScan_phi2850_theta-000_20240207T102740.csv +3314 -0
- imap_processing/tests/ultra/test_data/l0/ultra45_raw_sc_ultrarawimgevent_FM45_7P_Phi00_BeamCal_LinearScan_phi004_theta-001_20230821T121304.csv +702 -0
- imap_processing/tests/ultra/unit/__init__.py +0 -0
- imap_processing/tests/ultra/unit/conftest.py +210 -0
- imap_processing/tests/ultra/unit/test_decom_apid_880.py +98 -0
- imap_processing/tests/ultra/unit/test_decom_apid_881.py +50 -0
- imap_processing/tests/ultra/unit/test_decom_apid_883.py +44 -0
- imap_processing/tests/ultra/unit/test_decom_apid_896.py +104 -0
- imap_processing/tests/ultra/unit/test_lookup_utils.py +68 -0
- imap_processing/tests/ultra/unit/test_ultra_l1a.py +338 -0
- imap_processing/tests/ultra/unit/test_ultra_l1b.py +122 -0
- imap_processing/tests/ultra/unit/test_ultra_l1b_annotated.py +57 -0
- imap_processing/tests/ultra/unit/test_ultra_l1b_extended.py +342 -0
- imap_processing/tests/ultra/unit/test_ultra_l1c.py +104 -0
- imap_processing/tests/ultra/unit/test_ultra_l1c_pset_bins.py +35 -0
- imap_processing/ultra/__init__.py +1 -0
- imap_processing/ultra/constants.py +60 -0
- imap_processing/ultra/l0/__init__.py +0 -0
- imap_processing/ultra/l0/decom_tools.py +281 -0
- imap_processing/ultra/l0/decom_ultra.py +278 -0
- imap_processing/ultra/l0/ultra_utils.py +326 -0
- imap_processing/ultra/l1a/__init__.py +0 -0
- imap_processing/ultra/l1a/ultra_l1a.py +319 -0
- imap_processing/ultra/l1b/badtimes.py +26 -0
- imap_processing/ultra/l1b/cullingmask.py +26 -0
- imap_processing/ultra/l1b/de.py +59 -0
- imap_processing/ultra/l1b/extendedspin.py +45 -0
- imap_processing/ultra/l1b/lookup_utils.py +165 -0
- imap_processing/ultra/l1b/ultra_l1b.py +65 -0
- imap_processing/ultra/l1b/ultra_l1b_annotated.py +54 -0
- imap_processing/ultra/l1b/ultra_l1b_extended.py +764 -0
- imap_processing/ultra/l1c/histogram.py +36 -0
- imap_processing/ultra/l1c/pset.py +36 -0
- imap_processing/ultra/l1c/ultra_l1c.py +52 -0
- imap_processing/ultra/l1c/ultra_l1c_pset_bins.py +54 -0
- imap_processing/ultra/lookup_tables/EgyNorm.mem.csv +32769 -0
- imap_processing/ultra/lookup_tables/FM45_Startup1_ULTRA_IMGPARAMS_20240719.csv +2 -0
- imap_processing/ultra/lookup_tables/ultra45_back-pos-luts.csv +4097 -0
- imap_processing/ultra/lookup_tables/ultra45_tdc_norm.csv +2050 -0
- imap_processing/ultra/lookup_tables/ultra90_back-pos-luts.csv +4097 -0
- imap_processing/ultra/lookup_tables/ultra90_tdc_norm.csv +2050 -0
- imap_processing/ultra/lookup_tables/yadjust.csv +257 -0
- imap_processing/ultra/packet_definitions/ULTRA_SCI_COMBINED.xml +547 -0
- imap_processing/ultra/packet_definitions/__init__.py +0 -0
- imap_processing/ultra/utils/__init__.py +0 -0
- imap_processing/ultra/utils/ultra_l1_utils.py +50 -0
- imap_processing/utils.py +413 -0
- imap_processing-0.6.0.dist-info/LICENSE +21 -0
- imap_processing-0.6.0.dist-info/METADATA +107 -0
- imap_processing-0.6.0.dist-info/RECORD +398 -0
- imap_processing-0.6.0.dist-info/WHEEL +4 -0
- imap_processing-0.6.0.dist-info/entry_points.txt +4 -0
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
"""Testing for xtce generator template."""
|
|
2
|
+
|
|
3
|
+
import sys
|
|
4
|
+
from pathlib import Path
|
|
5
|
+
from unittest import mock
|
|
6
|
+
|
|
7
|
+
import pandas as pd
|
|
8
|
+
import pytest
|
|
9
|
+
|
|
10
|
+
from imap_processing.ccsds import excel_to_xtce
|
|
11
|
+
|
|
12
|
+
pytest.importorskip("openpyxl")
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
@pytest.fixture()
|
|
16
|
+
def xtce_excel_file(tmp_path):
|
|
17
|
+
"""Create an excel file for testing.
|
|
18
|
+
|
|
19
|
+
Dataframes for each tab of the spreadsheet that then get written to an excel file.
|
|
20
|
+
"""
|
|
21
|
+
# Create a pandas DataFrame for global attributes
|
|
22
|
+
subsystem = {
|
|
23
|
+
"infoField": ["subsystem", "sheetReleaseDate", "sheetReleaseRev"],
|
|
24
|
+
"infoValue": ["Test Instrument", "2024-07-26 00:00:00", "v1.2"],
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
packets = {"packetName": ["TEST_PACKET", "TEST_PACKET2"], "apIdHex": ["0x1", "0xF"]}
|
|
28
|
+
|
|
29
|
+
test_packet1 = {
|
|
30
|
+
"packetName": ["TEST_PACKET"] * 15,
|
|
31
|
+
"mnemonic": [
|
|
32
|
+
"PHVERNO",
|
|
33
|
+
"PHTYPE",
|
|
34
|
+
"PHSHF",
|
|
35
|
+
"PHAPID",
|
|
36
|
+
"PHGROUPF",
|
|
37
|
+
"PHSEQCNT",
|
|
38
|
+
"PHDLEN",
|
|
39
|
+
"SHCOARSE",
|
|
40
|
+
"VAR_UINT",
|
|
41
|
+
"VAR_INT",
|
|
42
|
+
"VAR_SINT",
|
|
43
|
+
"VAR_BYTE",
|
|
44
|
+
"VAR_FILL",
|
|
45
|
+
"VAR_FLOAT",
|
|
46
|
+
"VAR_STATE",
|
|
47
|
+
],
|
|
48
|
+
"lengthInBits": [3, 1, 1, 11, 2, 14, 16, 32, 2, 4, 5, 10000, 3, 32, 1],
|
|
49
|
+
"dataType": [
|
|
50
|
+
"UINT",
|
|
51
|
+
"UINT",
|
|
52
|
+
"UINT",
|
|
53
|
+
"UINT",
|
|
54
|
+
"UINT",
|
|
55
|
+
"UINT",
|
|
56
|
+
"UINT",
|
|
57
|
+
"UINT",
|
|
58
|
+
"UINT",
|
|
59
|
+
"INT",
|
|
60
|
+
"SINT",
|
|
61
|
+
"BYTE",
|
|
62
|
+
"FILL",
|
|
63
|
+
"FLOAT",
|
|
64
|
+
"UINT",
|
|
65
|
+
],
|
|
66
|
+
"convertAs": [
|
|
67
|
+
"NONE",
|
|
68
|
+
"NONE",
|
|
69
|
+
"NONE",
|
|
70
|
+
"NONE",
|
|
71
|
+
"NONE",
|
|
72
|
+
"NONE",
|
|
73
|
+
"NONE",
|
|
74
|
+
"NONE",
|
|
75
|
+
"ANALOG",
|
|
76
|
+
"NONE",
|
|
77
|
+
"NONE",
|
|
78
|
+
"NONE",
|
|
79
|
+
"NONE",
|
|
80
|
+
"NONE",
|
|
81
|
+
"STATE",
|
|
82
|
+
],
|
|
83
|
+
"units": [
|
|
84
|
+
"DN",
|
|
85
|
+
"DN",
|
|
86
|
+
"DN",
|
|
87
|
+
"DN",
|
|
88
|
+
"DN",
|
|
89
|
+
"DN",
|
|
90
|
+
"DN",
|
|
91
|
+
"DN",
|
|
92
|
+
"DN",
|
|
93
|
+
"DN",
|
|
94
|
+
"DN",
|
|
95
|
+
"DN",
|
|
96
|
+
"DN",
|
|
97
|
+
"DN",
|
|
98
|
+
"DN",
|
|
99
|
+
],
|
|
100
|
+
"longDescription": [
|
|
101
|
+
"CCSDS Packet Version Number",
|
|
102
|
+
"CCSDS Packet Type Indicator",
|
|
103
|
+
"CCSDS Packet Secondary Header Flag",
|
|
104
|
+
"CCSDS Packet Application Process ID",
|
|
105
|
+
"CCSDS Packet Grouping Flags",
|
|
106
|
+
"CCSDS Packet Sequence Count",
|
|
107
|
+
"CCSDS Packet Length",
|
|
108
|
+
"Mission elapsed time",
|
|
109
|
+
"Unsgned integer data with conversion",
|
|
110
|
+
"Integer data",
|
|
111
|
+
"Signed integer data",
|
|
112
|
+
"Binary data - variable length",
|
|
113
|
+
"Fill data",
|
|
114
|
+
"Float data",
|
|
115
|
+
"State data",
|
|
116
|
+
],
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
test_packet2 = {
|
|
120
|
+
"packetName": ["TEST_PACKET2"] * 9,
|
|
121
|
+
"mnemonic": [
|
|
122
|
+
"PHVERNO",
|
|
123
|
+
"PHTYPE",
|
|
124
|
+
"PHSHF",
|
|
125
|
+
"PHAPID",
|
|
126
|
+
"PHGROUPF",
|
|
127
|
+
"PHSEQCNT",
|
|
128
|
+
"PHDLEN",
|
|
129
|
+
"SHCOARSE",
|
|
130
|
+
"VAR1",
|
|
131
|
+
],
|
|
132
|
+
"lengthInBits": [3, 1, 1, 11, 2, 14, 16, 32, 2],
|
|
133
|
+
"dataType": [
|
|
134
|
+
"UINT",
|
|
135
|
+
"UINT",
|
|
136
|
+
"UINT",
|
|
137
|
+
"UINT",
|
|
138
|
+
"UINT",
|
|
139
|
+
"UINT",
|
|
140
|
+
"UINT",
|
|
141
|
+
"UINT",
|
|
142
|
+
"UINT",
|
|
143
|
+
],
|
|
144
|
+
"convertAs": [
|
|
145
|
+
"NONE",
|
|
146
|
+
"NONE",
|
|
147
|
+
"NONE",
|
|
148
|
+
"NONE",
|
|
149
|
+
"NONE",
|
|
150
|
+
"NONE",
|
|
151
|
+
"NONE",
|
|
152
|
+
"NONE",
|
|
153
|
+
"NONE",
|
|
154
|
+
],
|
|
155
|
+
"units": ["DN", "DN", "DN", "DN", "DN", "DN", "DN", "DN", "DN"],
|
|
156
|
+
"longDescription": [
|
|
157
|
+
"CCSDS Packet Version Number",
|
|
158
|
+
"CCSDS Packet Type Indicator",
|
|
159
|
+
"CCSDS Packet Secondary Header Flag",
|
|
160
|
+
"CCSDS Packet Application Process ID",
|
|
161
|
+
"CCSDS Packet Grouping Flags",
|
|
162
|
+
"CCSDS Packet Sequence Count",
|
|
163
|
+
"CCSDS Packet Length",
|
|
164
|
+
"Mission elapsed time",
|
|
165
|
+
"Variable 1 long description",
|
|
166
|
+
],
|
|
167
|
+
"shortDescription": [
|
|
168
|
+
"",
|
|
169
|
+
"",
|
|
170
|
+
"",
|
|
171
|
+
"",
|
|
172
|
+
"",
|
|
173
|
+
"",
|
|
174
|
+
"",
|
|
175
|
+
"",
|
|
176
|
+
"Variable 1 short description",
|
|
177
|
+
],
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
analog_conversions = {
|
|
181
|
+
"packetName": ["TEST_PACKET"],
|
|
182
|
+
"mnemonic": ["VAR_UINT"],
|
|
183
|
+
"convertAs": ["UNSEGMENTED_POLY"],
|
|
184
|
+
"segNumber": [1],
|
|
185
|
+
"lowValue": [0],
|
|
186
|
+
"highValue": [100],
|
|
187
|
+
"c0": [1.5],
|
|
188
|
+
"c1": [2.5],
|
|
189
|
+
"c2": [0],
|
|
190
|
+
"c3": [0],
|
|
191
|
+
"c4": [0],
|
|
192
|
+
"c5": [0],
|
|
193
|
+
"c6": [0],
|
|
194
|
+
"c7": [0],
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
states = {
|
|
198
|
+
"packetName": ["TEST_PACKET"] * 2,
|
|
199
|
+
"mnemonic": ["VAR_STATE"] * 2,
|
|
200
|
+
"value": [0, 1],
|
|
201
|
+
"state": ["OFF", "ON"],
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
# Write the DataFrame to an excel file
|
|
205
|
+
excel_path = tmp_path / "excel_to_xtce_test_file.xlsx"
|
|
206
|
+
excel_file = pd.ExcelWriter(excel_path, engine="openpyxl")
|
|
207
|
+
|
|
208
|
+
pd.DataFrame(subsystem).to_excel(excel_file, sheet_name="Subsystem", index=False)
|
|
209
|
+
pd.DataFrame(packets).to_excel(excel_file, sheet_name="Packets", index=False)
|
|
210
|
+
pd.DataFrame(test_packet1).to_excel(
|
|
211
|
+
excel_file, sheet_name="TEST_PACKET", index=False
|
|
212
|
+
)
|
|
213
|
+
# Test P_ version of sheet name as well
|
|
214
|
+
pd.DataFrame(test_packet2).to_excel(
|
|
215
|
+
excel_file, sheet_name="P_TEST_PACKET2", index=False
|
|
216
|
+
)
|
|
217
|
+
pd.DataFrame(analog_conversions).to_excel(
|
|
218
|
+
excel_file, sheet_name="AnalogConversions", index=False
|
|
219
|
+
)
|
|
220
|
+
pd.DataFrame(states).to_excel(excel_file, sheet_name="States", index=False)
|
|
221
|
+
|
|
222
|
+
# Write the file to disk
|
|
223
|
+
excel_file.close()
|
|
224
|
+
|
|
225
|
+
return excel_path
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
def test_generated_xml(xtce_excel_file):
|
|
229
|
+
"""Make sure we are producing the expected contents within the XML file.
|
|
230
|
+
|
|
231
|
+
To produce a new expected output file the following command can be used.
|
|
232
|
+
imap_xtce imap_processing/tests/ccsds/test_data/excel_to_xtce_test_file.xlsx
|
|
233
|
+
--output imap_processing/tests/ccsds/test_data/expected_output.xml
|
|
234
|
+
"""
|
|
235
|
+
generator = excel_to_xtce.XTCEGenerator(xtce_excel_file)
|
|
236
|
+
output_file = xtce_excel_file.parent / "output.xml"
|
|
237
|
+
generator.to_xml(output_file)
|
|
238
|
+
|
|
239
|
+
expected_file = Path(__file__).parent / "test_data/expected_output.xml"
|
|
240
|
+
# Uncomment this line if you want to re-create the expected output file
|
|
241
|
+
# generator.to_xml(expected_file)
|
|
242
|
+
with open(output_file) as f, open(expected_file) as f_expected:
|
|
243
|
+
assert f.read() == f_expected.read()
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
# General test
|
|
247
|
+
@mock.patch("imap_processing.ccsds.excel_to_xtce.XTCEGenerator")
|
|
248
|
+
def test_main_general(mock_input, xtce_excel_file):
|
|
249
|
+
"""Testing base main function."""
|
|
250
|
+
test_args = [
|
|
251
|
+
"test_script",
|
|
252
|
+
"--output",
|
|
253
|
+
"swe.xml",
|
|
254
|
+
f"{xtce_excel_file}",
|
|
255
|
+
]
|
|
256
|
+
with mock.patch.object(sys, "argv", test_args):
|
|
257
|
+
excel_to_xtce.main()
|
|
258
|
+
mock_input.assert_called_once()
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
# Testing without required arguments
|
|
262
|
+
def test_main_inval_arg():
|
|
263
|
+
"""Testing with invalid instrument."""
|
|
264
|
+
test_args = [
|
|
265
|
+
"test_script",
|
|
266
|
+
"--output",
|
|
267
|
+
"glows.xml",
|
|
268
|
+
]
|
|
269
|
+
with mock.patch.object(sys, "argv", test_args):
|
|
270
|
+
with pytest.raises(SystemExit):
|
|
271
|
+
excel_to_xtce.main()
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
# File does not exist
|
|
275
|
+
def test_main_inval_file():
|
|
276
|
+
"""Testing with invalid file."""
|
|
277
|
+
test_args = [
|
|
278
|
+
"test_script",
|
|
279
|
+
"--instrument",
|
|
280
|
+
"glows",
|
|
281
|
+
"not-a-valid-file.txt",
|
|
282
|
+
]
|
|
283
|
+
with mock.patch.object(sys, "argv", test_args):
|
|
284
|
+
with pytest.raises(SystemExit):
|
|
285
|
+
excel_to_xtce.main()
|
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Project: STP>Solar-Terrestrial Physics
|
|
2
|
+
Source_name: IMAP>Interstellar Mapping and Acceleration Probe
|
|
3
|
+
Discipline: Solar Physics>Heliospheric Physics
|
|
4
|
+
# TODO: CDF docs say this value should be IMAP
|
|
5
|
+
Mission_group: IMAP>Interstellar Mapping and Acceleration Probe
|
|
6
|
+
PI_name: Dr. David J. McComas
|
|
7
|
+
PI_affiliation: Princeton Plasma Physics Laboratory, 100 Stellarator Road, Princeton, NJ 08540
|
|
8
|
+
File_naming_convention: source_descriptor_datatype_yyyyMMdd_vNNN
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
DOI:
|
|
2
|
+
description: >
|
|
3
|
+
DOI is a persistent Unique Digital Identifier with the form
|
|
4
|
+
https://doi.org/<PREFIX>/<SUFFIX> with the <PREFIX> identifying the DOI
|
|
5
|
+
registration authority and the <SUFFIX> identifying the dataset. The DOI should point to
|
|
6
|
+
a landing page for additional information about the dataset. DOIs are typically created by
|
|
7
|
+
the SPASE naming authority or archive.
|
|
8
|
+
default: null
|
|
9
|
+
required: false # NOT Required in ISTP Guide (Recommended)
|
|
10
|
+
validate: true # include in validation
|
|
11
|
+
overwrite: false
|
|
12
|
+
Data_level:
|
|
13
|
+
description: >
|
|
14
|
+
This attribute is used in file name creation and records the level of processsing done
|
|
15
|
+
on the dataset. For HERMES the following are valid values:
|
|
16
|
+
- l0>Level 0
|
|
17
|
+
- l1>Level 1
|
|
18
|
+
- l2>Level 2
|
|
19
|
+
- l3>Level 3
|
|
20
|
+
- l4>Level 4
|
|
21
|
+
- ql>Quicklook
|
|
22
|
+
default: null
|
|
23
|
+
required: true # NOT Required in ISTP Guide (Derived)
|
|
24
|
+
validate: false
|
|
25
|
+
overwrite: true
|
|
26
|
+
Data_product_descriptor:
|
|
27
|
+
description: >
|
|
28
|
+
This is an optional field that may not be needed for all products. Where it is used, identifier
|
|
29
|
+
should be short (e.q. 3-8 characters) descriptors that are helpful to end- users. If a
|
|
30
|
+
descriptor contains multiple components, underscores are used to separate those components.
|
|
31
|
+
default: null
|
|
32
|
+
required: false # NOT Required in ISTP Guide (Derived)
|
|
33
|
+
validate: false
|
|
34
|
+
overwrite: true
|
|
35
|
+
Data_type:
|
|
36
|
+
description: >
|
|
37
|
+
This attribute is used by CDF file writing software to create a filename. It is a
|
|
38
|
+
combination of the following filename components: mode, data level, and optional data
|
|
39
|
+
product descriptor.
|
|
40
|
+
default: null
|
|
41
|
+
required: false # NOT Required in ISTP Guide (Derived)
|
|
42
|
+
validate: false
|
|
43
|
+
overwrite: true
|
|
44
|
+
Data_version:
|
|
45
|
+
description: >
|
|
46
|
+
This attribute identifies the version of a particular CDF data file.
|
|
47
|
+
default: null
|
|
48
|
+
required: true
|
|
49
|
+
validate: true
|
|
50
|
+
overwrite: false
|
|
51
|
+
Descriptor:
|
|
52
|
+
description: >
|
|
53
|
+
This attribute identifies the name of the instrument or sensor that collected the data. Both
|
|
54
|
+
a long name and a short name are given. For any data file, only a single value is allowed.
|
|
55
|
+
For HERMES, the following are valid values:
|
|
56
|
+
- EEA>Electron Electrostatic Analyzer
|
|
57
|
+
- MERIT>Miniaturized Electron pRoton Telescope
|
|
58
|
+
- NEMISIS> Noise Eliminating Magnetometer In a Small Integrated System
|
|
59
|
+
- SPAN-I>Solar Probe Analyzer for Ions
|
|
60
|
+
default: null
|
|
61
|
+
required: true
|
|
62
|
+
validate: true
|
|
63
|
+
overwrite: false
|
|
64
|
+
Discipline:
|
|
65
|
+
description: >
|
|
66
|
+
This attribute describes both the science discipline and sub discipline. For HERMES,
|
|
67
|
+
this value should always be "Space Physics>Magnetospheric Science."
|
|
68
|
+
default: Space Physics>Magnetospheric Science
|
|
69
|
+
required: true
|
|
70
|
+
validate: true
|
|
71
|
+
overwrite: false
|
|
72
|
+
File_naming_convention:
|
|
73
|
+
description: >
|
|
74
|
+
If File_naming_convention was not set, it uses default setting:
|
|
75
|
+
source_datatype_descriptor_yyyyMMdd
|
|
76
|
+
default: source_datatype_descriptor_yyyyMMdd
|
|
77
|
+
required: false
|
|
78
|
+
validate: false
|
|
79
|
+
overwrite: true
|
|
80
|
+
Generation_date:
|
|
81
|
+
description: >
|
|
82
|
+
Date stamps the creation of the file using the syntax yyyymmdd, e.g., "
|
|
83
|
+
default: null
|
|
84
|
+
required: false # NOT Required in ISTP Guide (Recommended)
|
|
85
|
+
validate: true
|
|
86
|
+
overwrite: true
|
|
87
|
+
HTTP_LINK:
|
|
88
|
+
description: >
|
|
89
|
+
The 'HTTP_LINK', 'LINK_TEXT', and 'LINK_TITLE' attributes store the URL with a
|
|
90
|
+
description of this dataset at the HERMES SDC. The use of HTTP_LINK attribute requires
|
|
91
|
+
the existence and equal number of corresponding LINK_TEXT and LINK_TITLE attributes.
|
|
92
|
+
If text is not needed for these attributes, use an empty string "".
|
|
93
|
+
default: null
|
|
94
|
+
required: false # NOT Required in ISTP Guide (Recommended)
|
|
95
|
+
validate: true
|
|
96
|
+
overwrite: false
|
|
97
|
+
Instrument_mode:
|
|
98
|
+
description: >
|
|
99
|
+
TBS
|
|
100
|
+
default: null
|
|
101
|
+
required: false # NOT Required in ISTP Guide (Derived)
|
|
102
|
+
validate: false
|
|
103
|
+
overwrite: false
|
|
104
|
+
Instrument_type:
|
|
105
|
+
description: >
|
|
106
|
+
This attribute is used to facilitate making choices of instrument type. More than one entry
|
|
107
|
+
is allowed. Acceptable values for HERMES include:
|
|
108
|
+
- Magnetic Fields (space)
|
|
109
|
+
- Particles (space)
|
|
110
|
+
- Plasma and Solar Wind
|
|
111
|
+
- Ephemeris -> Ephemeris/Attitude/Ancillary
|
|
112
|
+
default: null
|
|
113
|
+
required: true
|
|
114
|
+
validate: true
|
|
115
|
+
overwrite: false
|
|
116
|
+
LINK_TEXT:
|
|
117
|
+
description: >
|
|
118
|
+
The 'HTTP_LINK', 'LINK_TEXT', and 'LINK_TITLE' attributes store the URL with a
|
|
119
|
+
description of this dataset at the HERMES SDC. The use of HTTP_LINK attribute requires
|
|
120
|
+
the existence and equal number of corresponding LINK_TEXT and LINK_TITLE attributes.
|
|
121
|
+
If text is not needed for these attributes, use an empty string "".
|
|
122
|
+
default: null
|
|
123
|
+
required: false # NOT Required in ISTP Guide (Recommended)
|
|
124
|
+
validate: true
|
|
125
|
+
overwrite: false
|
|
126
|
+
LINK_TITLE:
|
|
127
|
+
description: >
|
|
128
|
+
The 'HTTP_LINK', 'LINK_TEXT', and 'LINK_TITLE' attributes store the URL with a
|
|
129
|
+
description of this dataset at the HERMES SDC. The use of HTTP_LINK attribute requires
|
|
130
|
+
the existence and equal number of corresponding LINK_TEXT and LINK_TITLE attributes.
|
|
131
|
+
If text is not needed for these attributes, use an empty string "".
|
|
132
|
+
default: null
|
|
133
|
+
required: false # NOT Required in ISTP Guide (Recommended)
|
|
134
|
+
validate: true
|
|
135
|
+
overwrite: false
|
|
136
|
+
Logical_file_id:
|
|
137
|
+
description: >
|
|
138
|
+
This attribute stores the name of the CDF file but without the
|
|
139
|
+
file extension (e.g. ".cdf"). This attribute is required to avoid loss of the original source
|
|
140
|
+
in the case of accidental (or intentional) renaming.
|
|
141
|
+
default: null
|
|
142
|
+
required: true
|
|
143
|
+
validate: true
|
|
144
|
+
overwrite: true
|
|
145
|
+
Logical_source:
|
|
146
|
+
description: >
|
|
147
|
+
This attribute determines the file naming convention in the SKT Editor and is used by
|
|
148
|
+
CDA Web. It is composed of the following values:
|
|
149
|
+
- source_name - (e.g. spacecraft identifier)
|
|
150
|
+
- descriptor - (e.g. instrument identifier - see Section Error! Reference source not
|
|
151
|
+
found.)
|
|
152
|
+
- data_type - (e.g. mode, data level, and optional data product descriptor - value
|
|
153
|
+
come from 'Data_type' attribute)
|
|
154
|
+
default: null
|
|
155
|
+
required: true
|
|
156
|
+
validate: true
|
|
157
|
+
overwrite: true
|
|
158
|
+
Logical_source_description:
|
|
159
|
+
description: >
|
|
160
|
+
This attribute writes out the full words associated with the encrypted Logical_source
|
|
161
|
+
above, e.g., "Level 1 Dual Electron Spectrometer Survey Data". Users on CDAWeb see
|
|
162
|
+
this value on their website.
|
|
163
|
+
default: null
|
|
164
|
+
required: true
|
|
165
|
+
validate: true
|
|
166
|
+
overwrite: true
|
|
167
|
+
MODS:
|
|
168
|
+
description: >
|
|
169
|
+
This attribute is an SPDF standard global attribute, which is used to denote the history of
|
|
170
|
+
modifications made to the CDF data set. The MODS attribute should contain a
|
|
171
|
+
description of all significant changes to the data set, essentially capturing a log of high-
|
|
172
|
+
level release notes. This attribute can have as many entries as necessary and should be
|
|
173
|
+
updated if the Interface Number ("X") of the version number changes.
|
|
174
|
+
default: null
|
|
175
|
+
required: false # NOT Required in ISTP Guide (Recommended)
|
|
176
|
+
validate: true
|
|
177
|
+
overwrite: false
|
|
178
|
+
Mission_group:
|
|
179
|
+
description: >
|
|
180
|
+
This attribute has a single value and is used to facilitate making choices of source through
|
|
181
|
+
CDAWeb. This value should be "HERMES."
|
|
182
|
+
default: HERMES
|
|
183
|
+
required: true
|
|
184
|
+
validate: true
|
|
185
|
+
overwrite: false
|
|
186
|
+
PI_affiliation:
|
|
187
|
+
description: >
|
|
188
|
+
This attribute value should include the HERMES mission PI affiliation followed by a
|
|
189
|
+
comma-separated list of any Co-I affiliations that are responsible for this particular
|
|
190
|
+
dataset. The following are valid HERMES values, of which the abbreviations should be
|
|
191
|
+
used exclusively within this attribute value, and the full text of the affiliation included in
|
|
192
|
+
the general 'text' attribute as it is used solely in plot labels.
|
|
193
|
+
- GSFC - Goddard Space Flight Center
|
|
194
|
+
- UCB - University of California, Berkeley
|
|
195
|
+
- SSL - Space Sciences Laboratory, UCB
|
|
196
|
+
- UM - University of Michigan
|
|
197
|
+
default: null
|
|
198
|
+
required: true
|
|
199
|
+
validate: true
|
|
200
|
+
overwrite: false
|
|
201
|
+
PI_name:
|
|
202
|
+
description: >
|
|
203
|
+
This attribute value should include first initial and last name of the HERMES mission PI
|
|
204
|
+
followed by a comma-separated list of any Co-Is that are responsible for this particular
|
|
205
|
+
dataset.
|
|
206
|
+
default: null
|
|
207
|
+
required: true
|
|
208
|
+
validate: true
|
|
209
|
+
overwrite: false
|
|
210
|
+
Project:
|
|
211
|
+
description: >
|
|
212
|
+
This attribute identifies the name of the project and indicates ownership. For HERMES,
|
|
213
|
+
this value should be "STP>Solar-Terrestrial Physics".
|
|
214
|
+
default: STP>Solar-Terrestrial Physics
|
|
215
|
+
required: true
|
|
216
|
+
validate: true
|
|
217
|
+
overwrite: false
|
|
218
|
+
Source_name:
|
|
219
|
+
description: >
|
|
220
|
+
This attribute identifies the observatory where the data originated. The following are
|
|
221
|
+
valid values for HERMES:
|
|
222
|
+
- HERMES>Heliophysics Environmental and Radiation Measurement Experiment Suite
|
|
223
|
+
default: HERMES>Heliophysics Environmental and Radiation Measurement Experiment Suite
|
|
224
|
+
required: true
|
|
225
|
+
validate: true
|
|
226
|
+
overwrite: false
|
|
227
|
+
Start_time:
|
|
228
|
+
description: >
|
|
229
|
+
The start time of the contained data given in YYYYMMDD_hhmmss
|
|
230
|
+
default: null
|
|
231
|
+
required: false # NOT Required in ISTP Guide (Derived)
|
|
232
|
+
validate: false
|
|
233
|
+
overwrite: true
|
|
234
|
+
TEXT:
|
|
235
|
+
description: >
|
|
236
|
+
This attribute is an SPDF standard global attribute, which is a text description of the
|
|
237
|
+
experiment whose data is included in the CDF. A reference to a journal article(s) or to a
|
|
238
|
+
World Wide Web page describing the experiment is essential and constitutes the
|
|
239
|
+
minimum requirement. A written description of the data set is also desirable. This
|
|
240
|
+
attribute can have as many entries as necessary to contain the desired information.
|
|
241
|
+
Typically, this attribute is about a paragraph in length and is not shown on CDAWeb.
|
|
242
|
+
CDAWeb is the web portal for access to SPDF data, available at https://cdaweb.gsfc.nasa.gov.
|
|
243
|
+
default: null
|
|
244
|
+
required: true
|
|
245
|
+
validate: true
|
|
246
|
+
overwrite: false
|