gfdlvitals 3.0.10__tar.gz → 3.0.11__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. {gfdlvitals-3.0.10/gfdlvitals.egg-info → gfdlvitals-3.0.11}/PKG-INFO +1 -1
  2. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/averagers/cubesphere.py +1 -1
  3. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/averagers/ice.py +1 -1
  4. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/averagers/land_lm4.py +1 -1
  5. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/averagers/latlon.py +1 -1
  6. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/averagers/tripolar.py +1 -1
  7. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/version.py +1 -1
  8. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11/gfdlvitals.egg-info}/PKG-INFO +1 -1
  9. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/LICENSE +0 -0
  10. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/README.md +0 -0
  11. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/docs/source/conf.py +0 -0
  12. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/__init__.py +0 -0
  13. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/averagers/__init__.py +0 -0
  14. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/averagers/land_lm3.py +0 -0
  15. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/cli.py +0 -0
  16. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/diags/__init__.py +0 -0
  17. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/diags/amoc.py +0 -0
  18. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/diags/fms.py +0 -0
  19. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/diags/m6toolbox.py +0 -0
  20. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/extensions.py +0 -0
  21. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/models/CM4.py +0 -0
  22. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/models/ESM2.py +0 -0
  23. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/models/__init__.py +0 -0
  24. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/plot.py +0 -0
  25. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/resources/LM3_variable_dictionary.pkl +0 -0
  26. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/resources/fonts/Roboto/LICENSE.txt +0 -0
  27. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/resources/fonts/Roboto/Roboto-Black.ttf +0 -0
  28. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/resources/fonts/Roboto/Roboto-BlackItalic.ttf +0 -0
  29. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/resources/fonts/Roboto/Roboto-Bold.ttf +0 -0
  30. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/resources/fonts/Roboto/Roboto-BoldItalic.ttf +0 -0
  31. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/resources/fonts/Roboto/Roboto-Italic.ttf +0 -0
  32. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/resources/fonts/Roboto/Roboto-Light.ttf +0 -0
  33. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/resources/fonts/Roboto/Roboto-LightItalic.ttf +0 -0
  34. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/resources/fonts/Roboto/Roboto-Medium.ttf +0 -0
  35. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/resources/fonts/Roboto/Roboto-MediumItalic.ttf +0 -0
  36. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/resources/fonts/Roboto/Roboto-Regular.ttf +0 -0
  37. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/resources/fonts/Roboto/Roboto-Thin.ttf +0 -0
  38. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/resources/fonts/Roboto/Roboto-ThinItalic.ttf +0 -0
  39. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/resources/fonts/Roboto_Condensed/LICENSE.txt +0 -0
  40. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/resources/fonts/Roboto_Condensed/RobotoCondensed-Bold.ttf +0 -0
  41. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/resources/fonts/Roboto_Condensed/RobotoCondensed-BoldItalic.ttf +0 -0
  42. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/resources/fonts/Roboto_Condensed/RobotoCondensed-Italic.ttf +0 -0
  43. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/resources/fonts/Roboto_Condensed/RobotoCondensed-Light.ttf +0 -0
  44. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/resources/fonts/Roboto_Condensed/RobotoCondensed-LightItalic.ttf +0 -0
  45. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/resources/fonts/Roboto_Condensed/RobotoCondensed-Regular.ttf +0 -0
  46. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/resources/historical.db +0 -0
  47. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/resources/picontrol.db +0 -0
  48. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/sample.py +0 -0
  49. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/util/__init__.py +0 -0
  50. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/util/average.py +0 -0
  51. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/util/extract_ocean_scalar.py +0 -0
  52. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/util/git.py +0 -0
  53. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/util/gmeantools.py +0 -0
  54. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/util/merge.py +0 -0
  55. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/util/netcdf.py +0 -0
  56. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals/util/xrtools.py +0 -0
  57. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals.egg-info/SOURCES.txt +0 -0
  58. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals.egg-info/dependency_links.txt +0 -0
  59. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals.egg-info/not-zip-safe +0 -0
  60. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals.egg-info/requires.txt +0 -0
  61. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/gfdlvitals.egg-info/top_level.txt +0 -0
  62. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/scripts/db2nc +0 -0
  63. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/scripts/gfdlvitals +0 -0
  64. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/scripts/plotdb +0 -0
  65. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/setup.cfg +0 -0
  66. {gfdlvitals-3.0.10 → gfdlvitals-3.0.11}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: gfdlvitals
3
- Version: 3.0.10
3
+ Version: 3.0.11
4
4
  Summary: Tools for calculating scalar diagnostics from GFDL models
5
5
  Home-page: https://github.com/jkrasting/gfdlvitals
6
6
  Author: John Krasting
@@ -63,7 +63,7 @@ def xr_average(fyear, tar, modules):
63
63
  )
64
64
 
65
65
  t_bounds = dset.time_bnds
66
- dt = t_bounds[:,:,1] - t_bounds[:,:,0]
66
+ dt = t_bounds.isel(nv=1) - t_bounds.isel(nv=0)
67
67
  weights = dt.astype("float") * _masked_area
68
68
  _dset_weighted = xrtools.xr_weighted_avg(dset, weights)
69
69
  xrtools.xr_to_db(
@@ -137,7 +137,7 @@ def xr_average(fyear, tar, modules):
137
137
  _dset_min = _dset_min.rename(newvars)
138
138
 
139
139
  t_bounds = dset.time_bnds
140
- dt = t_bounds[:,:,1] - t_bounds[:,:,0]
140
+ dt = t_bounds.isel(nv=1) - t_bounds.isel(nv=0)
141
141
  weights = dt.astype("float")
142
142
 
143
143
  _dset_weighted = xrtools.xr_weighted_avg(_dset, weights)
@@ -112,7 +112,7 @@ def xr_average(fyear, tar, modules):
112
112
  # _masked_area = _masked_area.fillna(0)
113
113
 
114
114
  t_bounds = dset.time_bnds
115
- dt = t_bounds[:,:,1] - t_bounds[:,:,0]
115
+ dt = t_bounds.isel(nv=1) - t_bounds.isel(nv=0)
116
116
  weights = dt.astype("float") * _masked_area
117
117
  if _measure == "soil_area":
118
118
  area_x_depth = _masked_area * depth
@@ -58,7 +58,7 @@ def xr_average(fyear, tar, modules):
58
58
  )
59
59
 
60
60
  t_bounds = dset.time_bnds
61
- dt = t_bounds[:,:,1] - t_bounds[:,:,0]
61
+ dt = t_bounds.isel(nv=1) - t_bounds.isel(nv=0)
62
62
  weights = dt.astype("float") * _masked_area
63
63
  _dset_weighted = xrtools.xr_weighted_avg(dset, weights)
64
64
  xrtools.xr_to_db(
@@ -63,7 +63,7 @@ def xr_average(fyear, tar, modules):
63
63
  )
64
64
 
65
65
  t_bounds = dset.time_bnds
66
- dt = t_bounds[:,:,1] - t_bounds[:,:,0]
66
+ dt = t_bounds.isel(nv=1) - t_bounds.isel(nv=0)
67
67
  weights = dt.astype("float") * _masked_area
68
68
  _dset_weighted = xrtools.xr_weighted_avg(dset, weights)
69
69
  xrtools.xr_to_db(
@@ -1,3 +1,3 @@
1
1
  """momlevel: version information"""
2
2
 
3
- __version__ = "3.0.10"
3
+ __version__ = "3.0.11"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: gfdlvitals
3
- Version: 3.0.10
3
+ Version: 3.0.11
4
4
  Summary: Tools for calculating scalar diagnostics from GFDL models
5
5
  Home-page: https://github.com/jkrasting/gfdlvitals
6
6
  Author: John Krasting
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes