-
Notifications
You must be signed in to change notification settings - Fork 36
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
Expand testing on to_netcdf4 #585
Comments
I suspect this requires sorting out #60 first. I ran into issues writing from xarray objects, which is why xarray has its own unit tests for this rather than just inheriting from pandas. |
Once #896 is sorted out, we can start testing this out. |
What should success for this test look like? Is it
|
The existing tests already do that. A good place to start would be coveralls, to see what is and isn't covered by the current tests. |
We currently test that we can load all kinds of public datasets, we don't test that we can write those datasets using to_netcdf. In essence, we need to review all the metadata that we load. |
I may not be in the right place, but to_netcdf is not working for cnofs IVM either.
returns:
This appears to happen on line 1440 of |
There should probably be a type check on the meta data. Under all of this is the assumption that units are a string. Since we allow the types to be updated, we need to check that this is, indeed, the case. |
I think this is the right call. a list is not allowed in meta. |
Given the number of changes/testing we would need to make in the libraries to implement this, I propose we bump the milestone. |
Bumping the milestone since this requires extensive testing with downstream packages. |
Is your feature request related to a problem? Please describe.
to_netcdf4 failed for DMSP, #567. The underlying issue had been present for some time but nobody on the team tried to make a netcdf4 file from Madrigal data.
Describe the solution you'd like
We should include a to_netcdf4 test in the generalized testing so that all instruments are known to work.
Describe alternatives you've considered
Leaving support for exporting data to netcdf4 untested across the pysat family is certain to leave bugs in the works.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: