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

writing obs sequences after calculating stats #49

Closed
hkershaw-brown opened this issue Feb 13, 2025 · 2 comments · Fixed by #51
Closed

writing obs sequences after calculating stats #49

hkershaw-brown opened this issue Feb 13, 2025 · 2 comments · Fixed by #51
Assignees

Comments

@hkershaw-brown
Copy link
Member

Drop columns currently

if "bias" in df_copy.columns:
df_copy = df_copy.drop(columns=["bias", "sq_err"])

So if you have binned by level, you have a vlevels and a midpoint
Should this be drop anything that is not in the header or:
start_required_columns = ["obs_num", "observation"]
end_required_columns = [
"linked_list",
"longitude",
"latitude",
"vertical",
"vert_unit",
"type",
"metadata",
"external_FO",
"seconds",
"days",
"time",
"obs_err_var",

Or explicit, midpoint, vlevels?

@hkershaw-brown
Copy link
Member Author

You can bin a obs_seq.out (no assimilation info), which I think is something you might want to look at, e.g you might want to remove obs above/below a certain level.

@hkershaw-brown
Copy link
Member Author

Also this drop is wrong now since we calculate for prior and post
df_copy = df_copy.drop(columns=["bias", "sq_err"])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant