Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAG CDF updates #349

Merged
merged 26 commits into from
Feb 23, 2024
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
4c3b55d
First pass at MAG XTCE documents
maxinelasp Oct 5, 2023
e7d533f
Updating XTCE with dynamic size fields
maxinelasp Oct 5, 2023
2e52740
Updating packet definitions
maxinelasp Nov 28, 2023
3d28cbf
Updating packet definitions
maxinelasp Nov 28, 2023
cd715da
Updates to code and creating tests
maxinelasp Dec 1, 2023
cd739f3
Updating MAG tests
maxinelasp Dec 5, 2023
865a808
setting up files for MAG CDF
maxinelasp Dec 6, 2023
0a63a62
deleted unneeded files
maxinelasp Dec 6, 2023
a88ec06
Removing print statements
maxinelasp Dec 6, 2023
7771aee
First pass on global attributes and main vectors
maxinelasp Dec 18, 2023
0b8cfbd
precommit auto fix
maxinelasp Dec 18, 2023
f32ba40
Initial MAG CDF files
maxinelasp Dec 21, 2023
d373538
Updating based on PR comments
maxinelasp Feb 15, 2024
6371708
Updating with example file
maxinelasp Feb 3, 2024
e6e3d05
Update CLI to include MAG file generation
maxinelasp Feb 5, 2024
1fed03a
Updating from PR comments
maxinelasp Feb 20, 2024
c826d08
Updating tests
maxinelasp Feb 20, 2024
7ea8d6f
updating poetry.lock
maxinelasp Feb 20, 2024
cc3738e
Updating
maxinelasp Feb 21, 2024
9976ffa
Downgrading cdflib
maxinelasp Feb 21, 2024
3a1c166
Removing some dependency requirements for batch_starter
maxinelasp Feb 21, 2024
849d670
Updating mag CDF generation to generate two files
maxinelasp Feb 23, 2024
e08e692
removing files
maxinelasp Feb 23, 2024
4589167
Removing print
maxinelasp Feb 23, 2024
1cf4ce9
minor updates
maxinelasp Feb 23, 2024
c4688ea
PR updates, naming changes
maxinelasp Feb 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updating tests
maxinelasp committed Feb 23, 2024
commit c826d08d081dccace11efc09292d27f72c882939
3 changes: 2 additions & 1 deletion imap_processing/codice/utils.py
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@
import xarray as xr

from imap_processing.cdf.global_attrs import ConstantCoordinates
from imap_processing.cdf.utils import calc_start_time
from imap_processing.codice import cdf_attrs


@@ -112,7 +113,7 @@ def create_dataset(packets: list[space_packet_parser.parser.Packet]) -> xr.Datas
add_metadata_to_array(packet, metadata_arrays)

epoch_time = xr.DataArray(
metadata_arrays["SHCOARSE"],
[calc_start_time(shcoarse) for shcoarse in metadata_arrays["SHCOARSE"]],
name="Epoch",
dims=["Epoch"],
attrs=ConstantCoordinates.EPOCH,
Binary file removed tools/xtce_generation/TLM_MAG_SCI.xls
Binary file not shown.
Binary file not shown.