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

Fixed time_profile variable units to be IOOS compliant. #141

Merged
merged 1 commit into from
Jan 6, 2023

Conversation

hvdosser
Copy link
Collaborator

@hvdosser hvdosser commented Jan 5, 2023

The variable time_profile had units that were e.g., 'seconds from 2022-12-01' but with the time changing for each profile. Code has been modified so the
correct units will show up for all profiles. This
fix also solved an issue where the value of time_profile was showing up as zero for some reason.

The variable time_profile had units that were e.g.,
'seconds from 2022-12-01' but with the time changing
for each profile. Code has been modified so the
correct units will show up for all profiles. This
fix also solved an issue where the value of time_profile
was showing up as zero for some reason.
@codecov
Copy link

codecov bot commented Jan 5, 2023

Codecov Report

Base: 77.49% // Head: 77.49% // No change to project coverage 👍

Coverage data is based on head (918d3aa) compared to base (a32a585).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #141   +/-   ##
=======================================
  Coverage   77.49%   77.49%           
=======================================
  Files           7        7           
  Lines        1271     1271           
=======================================
  Hits          985      985           
  Misses        286      286           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@jklymak
Copy link
Member

jklymak commented Jan 5, 2023

Can we add a test for this. e.g. test that the times are what we want when read back in?

@hvdosser
Copy link
Collaborator Author

hvdosser commented Jan 5, 2023

I don't think we have any tests for the profile netcdf files right now, or for the gridded files. Do you want me to write one?

@hvdosser hvdosser merged commit 3708430 into c-proof:main Jan 6, 2023
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.

2 participants