pysat / pysatSeasons

Seasonal Analysis routines for pysat
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Remove panel #27

Closed rstoneback closed 2 years ago

rstoneback commented 2 years ago

Description

Addresses #4, start on #3

Removes pandas.Panel from package.

Starts to switch code over to using xarray as main data format rather than something pandas based.

Tweaked general averaging code to reduce specificity with pandas. Started modifying computational_form to enable it's use in more areas.

The code is old, standards wise. Happy to sort that out as time goes on but a decent chunk of existing code may get deleted. I'd rather not make soon to be deleted code pretty. Overall plan is to reserve general comment and docstring improvements until after the transition to supporting xarray, as well as general nD binning support, is complete.

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Test Configuration:

Checklist:

rstoneback commented 2 years ago

Current implementation requires converting each DataFrame to a Dataset. Would likely be better if we could just make a Dataset in a single go. I've been having trouble with that though and wanted to get something up. Working solution > no solution.

rstoneback commented 2 years ago

Thanks for the comments @aburrell. Updated.

jklenzing commented 2 years ago

Just realized the changelog should probably show this as 0.2.0.