Skip to content

Releases: IMAP-Science-Operations-Center/imap_processing

v0.10.0

31 Jan 17:38
ee41ffa
Compare
Choose a tag to compare

This is the January 2025 release.

Highlights

  • Instrument Processing
    • Improvements to CoDICE processing
      • Updated energy and acquisition time lookup tables for CoDICE-Lo
      • Improved consistency and added missing values for some L1A CDF attributes
      • Applied conversion factor for spin_period values in L1a processing
      • Now calculating epoch values from acq_start_(sub)seconds instead of shcoarse
    • Improvements to GLOWS processing
      • Set up basic processing for L2
      • Updates to obs day
    • Improvements to Hi processing
      • Added direct casting for IntEnums to Numpy
      • Refactored L1c pset in preparation for algorithm development
      • Now populating despun_z for L1c
      • Added hae coordinates for pset bins for L1c
      • Documented that epoch is center of time bin
    • Improvements to HIT processing
      • Added new test data for L1a
      • Added uncertainty fields to count rate dataset for L1a
      • Wrote standard rates algorithm code for L1b
    • Improvements to IDEX processing
      • Added trigger settings to L1a output CDFs
      • Added SPICE data to L1b CDFs
    • Improvements to Lo processing
      • Added decom and organization of L1a spin data
    • Improvements to SWE processing
      • Added in-flight calibration file tracking
      • Now reading in and applying in-flight calibration factors to counts using simulated data
      • Fixes to units and angles
      • Corrected flux units and updates conversion factors
    • Improvements to Ultra processing
      • Added velocity magnitude and extended spin calculations in L1b processing
      • Made velocity revisions
      • Set up extendedspin data structure
      • Set up bin arrays based on matched indices for L2 ENA maps
      • Fixed bug in spatial utils and indexing in rectangular az_el grids
      • Now allowing spacial_utils.build_az_el_grid to return non-reversed elevation values
      • Now returning az/el bin edges along with bin centers in build_az_el_grid utility function
  • Infrastructure
    • Improvements to SPICE
      • Added function to transform az/el coordinates between frames
      • Epoch time is now in TDT instead of TDB
      • Fixed bug when importing spicepy as spice
    • Improvements to I-ALiRT processing
      • Reduced processing to a single running container
      • Added idle timeout settings
      • Combined tools NLB and ECS cluster
      • Updated format of dynamodb
      • Rewrote doppler calculation
  • Documentation
    • Updates to ancillary file documentation
  • Misc
    • Upgraded Poetry version to 2.0
    • Upgraded cdflib version to 1.3.3
    • Upgraded sammi-cdf version to 1.0
    • Created common utility function to convert spin phase to angle in degree or radian
    • Now excluding tests from build

What's Changed

Full Changelog: v0.9.0...v0.10.0

v0.9.0

23 Dec 20:04
ca3b498
Compare
Choose a tag to compare

This is the December 2024 release.

Highlights

  • Instrument Processing
    • Improvements to CoDICE processing
      • Fixed error in CoDICE-Lo product data array shapes
    • Improvements to Hi processing
      • Updates to SCI_DE packet definition and parsing
      • Updates to histogram tests
      • Updated packet definition XTCE
      • Refactored L1A histogram code
      • Refactored L1A parsing of DE_TOF binary blob
      • Added Hi-90 APIDs to processing
    • Improvements to HIT processing
      • Implemented L0 science packet decommutation
      • Refactored L1A code to use hit_utils for processing housekeeping
      • Created initial L1A count rates and pulse heights CDFs
      • Added validation for L1A count rates data
      • Added validation for L1A pulse height events
      • Added validation for L1A housekeeping data
    • Improvements to IDEX processing
      • Added support for L1B data products
      • Added more telemetry items to L1A data products
    • Improvements to Lo processing
      • Updated XTCE to fix housekeeping enum state bug
      • Updated event parsing to handle counts and passes in binary chunk
      • Implemented L1A DE processing
    • Improvements to MAG processing
      • Fixes to calibration
      • Fixed bug in L1B calibration matrix
    • Improvements to SWAPI processing
      • Updates to packet definition
    • Improvements to SWE processing
      • Fixes to phase space density units
      • Added calculation of electron flux
      • Added calculation of spin phase
    • Improvements to Ultra processing
      • Added velocity magnitudes for L1B
      • Updated species functions for L1B
      • Created rectangular grids for L2 and calculations for solid angle
  • Infrastructure
    • Improvements to SPICE
      • Added function to convert MET to UTC
      • Updated instrument boresight vectors
    • Improvements to I-ALiRT processing
      • Added processing of ephemeris
      • Added static assignment of IP address containers running in AWS
      • Added query and download API
      • Added IP range for BlueNet

What's Changed

Full Changelog: v0.8.0...v0.9.0

v0.8.0

26 Nov 22:05
95e5bf5
Compare
Choose a tag to compare

This is the November 2024 release.

Highlights

  • Instrument Processing
    • Improvements/additions to CoDICE processing
      • Added capability to process multiple APID from a single input L0 file
      • Updated input test L0 file and updated affected unit tests
    • Improvements to IDEX processing
      • Updated list of valid data levels to include new L2a, L2b, and L2c data levels
      • Updated input L0 test data and made corresponding changes to unit tests
    • Improvements to Ultra processing
      • Updates to L1c pset
      • Updates to annotated events
    • Improvements to GLOWS processing
      • Set up initial L2 processing pipeline
    • Improvements to MAG processing
      • Various cleanup for L1b CDFs
    • Improvements to Lo processing
      • Added support for segmentated packet DE fields that are spread across packets
      • Updated XTCE DE to group count and passing fields into the binary chunk
    • Improvements to Hi processing
      • Implemented support for L1b spin phase
      • Implemented support for L1b computation of nominal bin
      • Added calibration product coordinate to pset for L1c
    • Improvements to SWE processing
      • Implemented L1b science validation
    • Improvements to HIT processing
      • Implemented L1b housekeeping CDFs
      • Updated dependencies for L1b and L2
      • Implemented subcommutation for L0 sector rates
      • Implemented data decompression for L0
  • Infrastructure
    • Designed how SPICE dependency is tracked and associated
    • Removed old database tables for spin and repointing
    • Updated upload API lambda to accept spin and repointing csv data
    • Added spin and repointing data extension to SPICE checks
    • Updated EFS write lambda's event rule according to new SDC-maintained spin and repoint files
    • Updated EFS write lambda to move ingested files to correct EFS path
    • Added rest of IMAP kernels to the SPICE directory mapping
    • Now grouping lambda code into its functional group
  • Documentation updates
    • Updated all-contributors section of the README
    • Updated release procedure workflow documentation
    • Updated list of expected descriptors for CoDICE and IDEX
    • Updated 'Getting Started' documentation
    • Added documentation for Work Management Process
    • Updated CDF documentation
  • Misc
    • Implemented cartesian to spherical function for SPICE
    • Now using the SAMMI library for CDF attribute management
    • Excel to XTCE now can handle hexadecimal state values
    • Added placeholder function for esa_step -> esa_energy_step
  • Bug Fixes
    • Fixed bug in CoDICE L1a pipeline in which byte_count was not being used to determine length of data to decompress
    • Fixed bug in MAG decompression
    • Fixed Lo case 4 decompression table
    • Fixed psycopg error in pytests

What's Changed

New Contributors

Full Changelog: v0.7.0...v0.8.0

v0.7.0

31 Oct 19:44
69e05be
Compare
Choose a tag to compare

This is the October 2024 release.

Highlights

  • Instrument Processing
    • Improvements/additions to Ultra processing
      • Added spatial and energy binning equations
      • Added exposure time and pointing frame
      • Updates to L1B Annotated products
      • Added PSET spacecraft frame and PSET helio frame exposure times
    • Improvements/additions to I-ALiRT processing
      • Added HIT algorithm lambda
    • Improvements/additions to GLOWS processing
      • Updates to L1 CDF dtypes for outputs
      • Added validation tests for L1A and L1B
    • Improvements/additions to MAG processing
      • L1a compression fixes
    • Improvements/additions to Lo processing
      • Updates to use new decompression tables
      • Refactored L1A direct event data class to function
      • Combined segmented direct event data
    • Improvements/additions to Hi processing
      • Added extract method for generating L1B direct event DataArrays
      • Populated L1A direct event CDF files with simulated data
      • Updated product definition esa_step
      • Added computation of coincidence_type and time deltas
      • Added computation of HAE lattitude and longitude
      • Added logical source parser
    • Improvements/additions to SWAPI processing
      • Updated tests and validation data
      • Updated L2 variable names
      • Updated L1 to store other housekeeping variables
    • Improvements/additions to SWE processing
      • Improvements to L1 for L2 processing
      • Added L1A CDF validation
      • Added conversion of counts to phase space density
    • Improvements/additions to HIT processing
      • Refactored L1A processing to use packet_file_to_datasets function
  • Misc
    • Updated Poetry documentation
    • Added SPICE directory to the documentation build
    • Added epoch to J2000 seconds function for SPICE
    • Added calculations for instrument spin phase for SPICE
    • Upgraded cdflib version
    • Upgraded space_packet_parser version
  • Bug Fixes
    • Fixed bug in I-ALiRT deployment
    • Fixed bug in Lo unpacking scheme definitions
    • Fixed bug in SPICE function get_spacecraft_spin_phase to avoid returning all nans

What's Changed

Full Changelog: v0.6.0...v0.7.0

v0.6.0

27 Sep 21:52
00ed782
Compare
Choose a tag to compare

This is the September 2024 release.

Highlights

  • Data Access API
    • Added query parameter for returning files acquired in the last 24 hours
    • Added query parameter for returning files acquired in the last N days
    • Improvements to query parameter validation and handling of 502 errors
  • Instrument Processing
    • Improvements to CoDICE L1a processing:
      • Updated XTCE definitions
      • Implemented packet_file_to_datasets utility function, which simplifies the processing algorithm
      • Added support for variable length packet data
      • Updating CDF variable/attribute names to match expected nomenclature
      • Added CATDESC and FIELDNAM descriptions to housekeeping attributes
      • Refactored pipeline to allow more flexibility in configuring the 18 different CoDICE L1 data products
        *Improvements to Ultra L1 processing:
      • Created Ultra pset energy bins
      • Implemented Ultra L1b extended ssd and extended energy
      • Implemented Ultra particle velocity and SSD TOF
    • Improvements to Lo L1 processing:
      • Improved Lo L1a CDF YAML definitions
      • Updated Lo L1a dependency table
      • Refactoredpacket_file_to_datasets utility function for Lo
    • Improvements to HIT L1 processing:
      • Now using raw L0 file as a single L1a dependency
      • Implemented unpacing of L0 count rates data
      • Now grouping L0 science packets into science frames
      • Updated L0 dependency table
      • Updated sci deom to group packets and parse count rates
      • Implemented packet_file_to_datasets utility function, which simplifies the processing algorithm
    • Improvements to SWAPI processing:
      • Updated L1 quality flags to work with numpy v2.0+
      • Added quality flags for L2 algorithm
      • Added L3 levels to list of valid levels
      • Updated L2 dependency table
    • Improvements to SPICE:
      • Implemented SPICE frame transform function
      • Implemented some SPICE infrastructure and simple geometry function
      • Implemented spin phase query utils function, using spin start and spin rate data
      • Implemented spin phase calculation using spin data
    • IDEX L1 processing is now split into L1a and L1b processing/data products
    • Implemented packet_file_to_datasets utility function for SWE pipeline, which simplifies the processing algorithm
    • Implemented HIT CCSDS packet generation for I-ALiRT
    • Updated met_to_j200ns function
    • Updated Hi product definition to have int64 data instead of uint64
  • Misc
    • Refactored AWS infrastructure to use Constructs instead of Stacks
    • Initial set of materials sent to web team for initial implementation of SDC website
    • Added AWS stack to handle website deployment
    • Added Parents attribute to CDF files that indicate parent data products used to create the CDF
    • Added wheel build to releases
    • Improvements to dependency management documentation
    • Now ignoring conftest.py modules in Codecov reporting
    • Updated EventBridge rule to match new SPICE path in data bucket
  • Bug Fixes
    • Fixed bug in SPICE batch job
    • Fixed bug that was causing SPICE to fail loading metakernel
    • Fixed unique constraint for dependency table

Full Changelog

Full Changelog: v0.5.0...v0.6.0

v0.5.0

30 Aug 21:32
373f9f3
Compare
Choose a tag to compare

This is the release for August 2024.

Highlights

  • Data Access API:
    • Improvements to documentation and help menus
    • Added demo/examples notebook
    • Added support for filename query parameter
    • Fixed output table formatting
  • Instrument Processing:
    • Updated CDF attributes for GLOWS
    • Implemented proper unpacking and restructuring of data arrays for CoDICE-lo L1 data products
    • Updates to global CDF attribute metadata
    • Added Ultra Extended L1B lookup tables
    • Added support for bitflags
    • Added DynamoDB Streams for i-alirt packet ingest
    • Added Ultra pulse height calculations
    • Added SPICE pointing frame
    • Updated Lo and HIT XTCE files
    • Created module structure for SPICE functions
    • Added SPICE kernel furnishing decorator
    • Migrated HI L1a housekeeping to use CdfAttributeManager
    • Refactored epoch attributes
    • Initial implementation of SWAPI L2 alrgorithm
  • Misc
    • Various updates to XTCE generator script and improved documentation
    • Enabled support for numpy v2.x
  • Bug Fixes:
    • Fixed bug in --end-date query parameter in Data Access API
    • Fixed bug in mypy pre-commit check so now it covers entire code base

Full Changelog

Full Changelog: v0.4.0...v0.5.0

v0.4.0

26 Jul 22:26
687354b
Compare
Choose a tag to compare

This is the release for (most of) June and July 2024, and the latest release before the IMAP Science Team Meeting on Aug 1st and 2nd.

Highlights

  • Added automated numpydoc and mypy checks to pre-commit hooks
  • Added end-date parameter to CLI script
  • Added unit tests for new CDF attribute management code
  • All instrument pipelines now return xarray dataset objects instead of filepaths
  • Added support for array-like time conversions
  • Updated IDEX, HI, HIT, MAG, and SWAPI pipelines to use new yaml-based CDF attribute management code instead of dataclasses
  • Updated citation info
  • Updates to XTCE generator script to be instrument-agnostic
  • Added generalized dataset creation code

Full Changelog

Full Changelog: v0.3.0...v0.4.0

v0.3.0

18 Jun 18:18
abd9bbc
Compare
Choose a tag to compare

This release includes updates to be used for the IMAP SDC Software Integration Test 3 (SIT-3). More information can be found in this galaxy page.

Highlights

  • Updated L0 decommutation algorithms for Ultra
  • Added unit tests for L0 decommutation for SWAPI
  • Added support for L1 processing for several instruments (CoDICE, GLOWS, Hi, HIT, Lo, MAG, SWAPI, SWE, Ultra)
  • Moved to YAML-based solution for defining CDF attributes
  • Updated cli script for triggering processing for instruments; added support for all instruments; added functionality for downloading dependencies and uploading produced files; added support for descriptor field.
  • Updated logging in L1 processing pipelines to use module-level logs
  • Updated documentation, particularly for CDF attributes and file structure, file naming conventions, and git/GitHub workflow
  • Added SPICE examples for Annotated Events
  • Added codespell pre-commit check
  • Updated version of space_packet_parser and cdflib
  • Added citation information and DOI badge for citing the repository
  • Added load_cdf helper function
  • Added launch_time parameter to cdf.utils.calc_start_time to allow instruments to define their own launch time.
  • Now defining repository version dynamically

Full Changelog

Read more

v0.3.0rc2

18 Jun 14:53
6b1a2ec
Compare
Choose a tag to compare
v0.3.0rc2 Pre-release
Pre-release

Full Changelog

Full Changelog: v0.3.0rc1...v0.3.0rc2

v0.3.0rc1

13 Jun 21:34
d8d25d8
Compare
Choose a tag to compare
v0.3.0rc1 Pre-release
Pre-release

Full Changelog

Read more