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

xarray output for power spec and rank hist metrics #15

Merged
merged 15 commits into from
Jan 28, 2025
Merged

xarray output for power spec and rank hist metrics #15

merged 15 commits into from
Jan 28, 2025

Conversation

14renus
Copy link
Collaborator

@14renus 14renus commented Jan 27, 2025

output of power spec and rank histogram is xarray:

  • remove option for return_raw_dict, should return xarray if needed all metrics

xarray needs to have var has data variable, since some variables have level dimension but not all:

  • cannot make metric as the data variable in xarray

fix plot:

  • read xarray format with metric as extra dimension
  • select extra optional dimensions such as level for certain variables
  • alias for variable/level in plot title

match rankhist plot to paper:

  • rankhist log frequency
  • option for color
  • x axis label

@14renus 14renus requested a review from a team as a code owner January 27, 2025 17:30
@14renus 14renus force-pushed the eval branch 3 times, most recently from 9567dca to d61cb12 Compare January 28, 2025 12:23
@14renus 14renus merged commit df3efe5 into main Jan 28, 2025
5 checks passed
@14renus 14renus deleted the eval branch January 28, 2025 12:40
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 this pull request may close these issues.

1 participant