cedadev / nappy

NASA Ames Processing in PYthon (NAPPy) - a Python library for reading, writing and converting NASA Ames files.
BSD 3-Clause "New" or "Revised" License
9 stars 13 forks source link

Refactor `nappy_api` to re-use code in the `nc_interface` and other modules rather than replicating code #30

Open agstephens opened 3 years ago

agstephens commented 3 years ago

It appears the nappy_api.py module includes code that should really just be imported and exposed as an API.

We need to:

  1. Remove duplicate code.
  2. Decide on a clean way to expose the API.
  3. Most complex code into other areas, such as the nc_interface package.