ldeo-glaciology / xapres

package for processing ApRES data using xarray
MIT License
3 stars 2 forks source link

Change initialization of package and some renaming of key fns/methods #35

Closed jkingslake closed 1 year ago

jkingslake commented 1 year ago

This is an attempt at a new and more sensible structure for the code.

These changes will mean that existing code using the package will most likely break. But the chnages required to fix that code will be very minor. Essentially just changing anything like

import ApRESDefs
xa = ApRESDefs.xapres(loglevel='debug')

to something like

import xapres_package as xa
fd = xa.load.from_dats(loglevel='debug')

The main changes are

@glugeorge please let me know what you think, when you get a chance (no hurry :smile:)

jkingslake commented 1 year ago

The tests failed because I forgot to change the name of a method in the test scripts.