jjgomera / iapws

python libray for IAPWS standard calculation of water and steam properties
GNU General Public License v3.0
169 stars 64 forks source link

Produce a tex/pdf based tabular report #28

Open tntmatthews opened 7 years ago

tntmatthews commented 7 years ago

The iapws package including the ability to 'self' generate a pdf table would be of benefit for anyone investigating results produced by packages that use it. (Perhaps it would just generate tex to avoid a dependency on pdflatex or similar tool). I think it would be of benefit to add a module to the package that walks ranges to build out the tables. This was done in a wrapper for freesteam called pywatprop which has not been sustained; but, the code is at ... https://github.com/tntmatthews/pywatprop/blob/master/pywatprop/steamtab.py. which produces https://github.com/tntmatthews/pywatprop/blob/master/pywatprop/steamtab.pdf

Has anything like this been done? I am thinking about forking and adding ... Good Idea/Bad Idea?

jjgomera commented 7 years ago

Hi, Each added functionality is welcome, i didn't think add it but I pleased to anyone forks and works in that. Don't worry about external functionality, that script wouldn't stay at module level, it's stay as root level as https://github.com/jjgomera/iapws/blob/master/plots.py with matplotlib external dependence obviously don't necessary for iapws.