IMAP-Science-Operations-Center / imap_processing

IMAP
MIT License
6 stars 16 forks source link

Hi L1B - modify processing workflow to use xarray.Dataset.update #1045

Closed subagonsouth closed 4 weeks ago

subagonsouth commented 1 month ago

Algorithm Description:

The current implementation creates new variables and adds them to the dataset using xarray.Dataset.assign() which makes a copy of the dataset. An inplace modification would be to use the update() method. This will require the functions that create and populate the new variables to return dictionaries with the new DataArrays rather than returning a modified Dataset.