# PyNCplot # Python to manage netCDF files. # From L. Fita work in different places: CCRC (Australia), LMD (France) # More information at: http://www.xn--llusfb-5va.cat/python/PyNCplot # # pyNCplot and its component nc_var.py comes with ABSOLUTELY NO WARRANTY. # This work is licendes under a Creative Commons # Attribution-ShareAlike 4.0 International License (http://creativecommons.org/licenses/by-sa/4.0) # ## Python script to indepdententy test different components ## L. Fita, CIMA. ####### ####### ##### ##### #### ### ## # import numpy as np from netCDF4 import Dataset as NetCDFFile import os import re import numpy.ma as ma # Importing generic tools file 'generic_tools.py' import generic_tools as gen import subprocess as sub import nc_var_tools as ncvar import module_ForDef as fdef import module_ForDiag as fdiag import module_ForGen as fgen import module_ForSci as fsci # Testing Fortran tws print fdiag.module_fordiagnosticsvars.var_tws_s11.__doc__ t = 20. + 273.15 hur = 0.5 print fdiag.module_fordiagnosticsvars.var_tws_s11(t, hur) quit() #quit()