pysat / pysatNASA

pysat support for NASA Instruments
BSD 3-Clause "New" or "Revised" License
21 stars 7 forks source link

Header meta #185

Closed JonathonMSmith closed 1 year ago

JonathonMSmith commented 1 year ago

Description

Addresses #176

When loading a dataset into a pandas dataframe header level metadata was not being attached.

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Test Configuration

Checklist:

jklenzing commented 1 year ago

Looks like the ACE xarray instruments are failing on the pull side, probably due to recent changes. The new ace load routine doesn't have a 'use_cdflib' option, since it always uses this.

JonathonMSmith commented 1 year ago

yeah, also it looks like test_load_cdflib is always skipped. I don't see it ever passing, only getting skipped.

jklenzing commented 1 year ago

yeah, also it looks like test_load_cdflib is always skipped. I don't see it ever passing, only getting skipped.

It's only run when pysatCDF is installed, which is never installed because it's broken

I just realized this is definitely a bug. You could merge in the changes from develop and add **kwargs to the ace load function to let other stuff pass through unused

JonathonMSmith commented 1 year ago

I'll give it a shot

jklenzing commented 1 year ago

Long term I think we want to add the header meta test to pysat, but we need that to be the default there first. Probably should add a TODO statement here linking to that issue.