miniufo / xgrads

Parse and read ctl and associated binary file commonly used by GrADS into xarray
https://xgrads.readthedocs.io/
MIT License
71 stars 27 forks source link

separate cartopy from core.py #13

Closed miniufo closed 4 years ago

miniufo commented 4 years ago

Recently I realized that the core.py requires cartopy to be correctly imported. This is not necessary if one only wants to parse the data. The solution would be to add a py file that deal with the projection-related plotting or calculation, leaving core.py as small as possible.