ITA-Solar / helita

A Python library for solar physics from the Institute of Theoretical Astrophysics, University of Oslo
BSD 3-Clause "New" or "Revised" License
9 stars 17 forks source link

Major cleanup of stale and obsolete code #12

Closed tiagopereira closed 5 years ago

tiagopereira commented 5 years ago

This PR cleans up parts of code no longer used, and cleans up existing routines. Docstrings, whitespace, and other PEP8 things are more strictly enforced, as are external imports. From this version, few modules are automatically loaded on import helita or import of sub-packages, speeding up loading. All imports of netCDF4 have now been removed, all code uses either xarray or h5py. All the visualisation routines have been placed under vis.

Also started to add some tests, and version number has been bumped to 0.9.0.

tiagopereira commented 5 years ago

Just a note that compatibility is now broken with earlier versions -- some modules were deleted, others moved around.