14 if os.environ.get(
'LIBDIR')
is not None:
15 sys.path.append(os.environ[
'LIBDIR'])
27 print(f
"INFO: nlocs={obsspace.nlocs}")
28 print(f
"INFO: list of dimensions:{obsspace.dimensions}")
29 print(f
"INFO: all available variables in {obsspace}: {obsspace.variables}")
32 testvar = obsspace.Variable(
'hofx/brightness_temperature')
35 testdata = testvar.read_data()
38 print(f
"INFO: hofx/brightness_temperature min: {np.nanmin(testdata)}")
39 print(f
"INFO: hofx/brightness_temperature max: {np.nanmax(testdata)}")
40 print(f
"INFO: hofx/brightness_temperature mean: {np.nanmean(testdata)}")