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

very first interim_l3 dataset #121

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
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
add preparation for interim l3
hgloeckner committed Aug 19, 2024
commit 952785425d78734202960b2f61a1a9556deefb47
7 changes: 7 additions & 0 deletions src/halodrops/processor.py
Original file line number Diff line number Diff line change
@@ -972,6 +972,13 @@ def add_l2_ds(self, l2_dir: str = None):

return self

def create_prep_l3(self):
_prep_l3_ds = self.l2_ds.assign_coords(
{"sonde_id": ("sonde_id", [self.l2_ds.sonde_id.values])}
).sortby("time")
object.__setattr__(self, "_prep_l3_ds", _prep_l3_ds)
return self

def add_q_and_theta_to_l2_ds(self):
"""
Adds potential temperature and specific humidity to the L2 dataset.