diff --git a/bgcval2/functions/globalVolMean.py b/bgcval2/functions/globalVolMean.py index b267a779..310de500 100644 --- a/bgcval2/functions/globalVolMean.py +++ b/bgcval2/functions/globalVolMean.py @@ -33,14 +33,6 @@ from bgcval2.functions.standard_functions import choose_best_var from bgcval2.functions.standard_functions import find_best_var -#def calc_vol(nc): -# """ -# Calculate volume from the (grid-T) netcdf file. -# """ -# area = nc.variables['area'][:] -# thkcello = nc.variables['thkcello'][:] -# area = area[None, None,:, :] -# return thkcello * area def calc_vol(nc): """ @@ -53,6 +45,7 @@ def calc_vol(nc): area = area[None, None,:, :] return thkcello * area + def globalVolumeMean(nc, keys, **kwargs): """ Calculate the global volume mean.