scipy.io.netcdf_variable.

getValue#

netcdf_variable.getValue()[source]#

從長度為一的 netcdf_variable 中檢索純量值。

引發:
ValueError

如果 netcdf 變數是長度大於一的陣列,則會引發此例外。