nansencenter / nansat

Scientist friendly Python toolbox for processing 2D satellite Earth observation data.
http://nansat.readthedocs.io
GNU General Public License v3.0
182 stars 66 forks source link

Support import of several external mapper packages #492

Open korvinos opened 3 years ago

korvinos commented 3 years ago

At the moment the nansat supports the import of only one custom package of external user-developed nansat_mappers. However, it can be useful to allow the import of an arbitrary number of external mappers related to different top-level projects e.g.:

- project_1
| - nansat_mappers_project1
| - other_project_code 
...
- project_2
| - nansat_mappers_project2
| - other_ project_code 
....

To support this feature the _import_mappers method from the nansat module should be reworked.

korvinos commented 3 years ago

Hi @akorosov, it seems for me like a reasonable enhancement for the nansat and I guess I have a not too bad idea about how to implement it. Do you think it could be useful?