source: lmdz_wrf/trunk/tools/__test.py__ @ 2474

Last change on this file since 2474 was 2405, checked in by lfita, 6 years ago

Chaning name of test programs in order to make obilgatory to make a copy of them
Adding test_Fmods.f90 into trueno's Makefile

File size: 1.1 KB
Line 
1# PyNCplot
2# Python to manage netCDF files.
3# From L. Fita work in different places: CCRC (Australia), LMD (France)
4# More information at: http://www.xn--llusfb-5va.cat/python/PyNCplot
5#
6# pyNCplot and its component nc_var.py comes with ABSOLUTELY NO WARRANTY.
7# This work is licendes under a Creative Commons
8#   Attribution-ShareAlike 4.0 International License (http://creativecommons.org/licenses/by-sa/4.0)
9#
10## Python script to indepdententy test different components
11## L. Fita, CIMA.
12####### ####### ##### ##### #### ### ## #
13
14import numpy as np
15from netCDF4 import Dataset as NetCDFFile
16import os
17import re
18import numpy.ma as ma
19# Importing generic tools file 'generic_tools.py'
20import generic_tools as gen
21import subprocess as sub
22import nc_var_tools as ncvar
23import module_ForDef as fdef
24import module_ForDiag  as fdiag
25import module_ForGen as fgen
26import module_ForSci as fsci
27
28
29# Testing Fortran tws
30print fdiag.module_fordiagnosticsvars.var_tws_s11.__doc__
31t = 20. + 273.15
32hur = 0.5
33print fdiag.module_fordiagnosticsvars.var_tws_s11(t, hur)
34
35quit()
36
37
38#quit()
39
Note: See TracBrowser for help on using the repository browser.