- Timestamp:
- Jul 13, 2019, 10:02:12 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/diagnostics.py
r2678 r2679 55 55 from optparse import OptionParser 56 56 import numpy as np 57 import numpy.ma as ma 57 58 from netCDF4 import Dataset as NetCDFFile 58 59 import os … … 1009 1010 var8 = var08[1] - var08[0] 1010 1011 1012 var5 = var5/var5 1013 var6 = var6/var6 1014 var7 = var7/var7 1015 1011 1016 diag1, diag2, diag3, diag4, diag5, diag6, diag7, diag8, diag9, diag10, \ 1012 1017 diagoutd, diagoutvd = diag.Forcompute_frontogenesis(var0, var1, var2, var3,\ 1013 1018 var4, var5, var6, var7, var8, dnames, dvnames) 1019 1020 # Removing inf, Nan, .... 1021 diag1 = ma.masked_invalid(diag1) 1022 diag2 = ma.masked_invalid(diag2) 1023 diag3 = ma.masked_invalid(diag3) 1024 diag4 = ma.masked_invalid(diag4) 1025 diag5 = ma.masked_invalid(diag5) 1026 diag6 = ma.masked_invalid(diag6) 1027 diag7 = ma.masked_invalid(diag7) 1028 diag8 = ma.masked_invalid(diag8) 1029 diag9 = ma.masked_invalid(diag9) 1030 diag10 = ma.masked_invalid(diag10) 1014 1031 1015 1032 # Removing the nonChecking variable-dimensions from the initial list
Note: See TracChangeset
for help on using the changeset viewer.