igmk / pamtra

Passive and Active Microwave TRAnsfer model
GNU General Public License v3.0
19 stars 16 forks source link

tools folder #20

Closed DaveOri closed 4 years ago

DaveOri commented 4 years ago

I have recently implemented a tool for a user that interface with python to the gas absorption module. After testing I have included it in pamtra. https://github.com/igmk/pamtra/tree/master/tools/pyGasAbs

My question is to the rest of pamtra tools. Apart from the usStandard atmospheric profile that is hosted on Max account, the others do not work on my machines, mostly because they attempt to compile symbolic links which is not permitted on my systems.

I suggest to either fix them or make it clear that they are not working. I can take care of polishing the tools and their Makefiles, but I do not want to do that if it is not useful to anybody

maahn commented 4 years ago

Hi Davide,

yes this can be indeed cleaned up, I guess it is quite save to assume that nobody is using them if they are not updated for four or even seven years. Regarding pyGasAbs, have a look also at https://github.com/maahn/pamtra2/tree/master/libs/pamgasabs

DaveOri commented 4 years ago

Right! there is pamtra2 with the modules available. Are you saying that it is better to use numpy.distutils instead of directly f2py?

maahn commented 4 years ago

I guess it is a matter of taste. numpy.distutils allows a more pythonic way to install it, which opens the door to use other Python tools such as pytest, pip or conda.