TEMPO RAD netCDF dimensions for wavecal_params
Posted: Wed Oct 02, 2024 8:05 am America/New_York
Hi, I get strange results when looking up the dimensions for the "wavecal_params" variable in the TEMPO L1B RAD product files using the netCDF library. The dimensions should be "(mirror_step, xtrack, wavecal_par)", e.g. 123 * 2048 * 1 in the V3 RAD files I have. However, when I look up these dimensions for the wavecal_params in band_540_740_nm using the netCDF library, the final dimension is wrongly reported as "ephemeris_time", with a size of 35. This happens when I use Python (tested in using netCDF versions 1.6.5 and 1.7.1) and when I use the C API directly.
Are you aware of this and/or do you have a solution?
Example session in python:
ds = nc.Dataset("./Downloads/TEMPO_RAD_L1_V03_20241001T185431Z_S007G05.nc")
ds["/band_540_740_nm/wavecal_params"]
Out[9]:
<class 'netCDF4._netCDF4.Variable'>
float32 wavecal_params(mirror_step, xtrack, ephemeris_time)
num_coefficients: 1
start_spectral_channel: 470
num_spectral_channels: 100
adjust_nominal_wavelength: 1
path = /band_540_740_nm
unlimited dimensions:
current shape = (131, 2048, 37)
filling on, default _FillValue of 9.969209968386869e+36 used
thanks!
Thomas
Are you aware of this and/or do you have a solution?
Example session in python:
ds = nc.Dataset("./Downloads/TEMPO_RAD_L1_V03_20241001T185431Z_S007G05.nc")
ds["/band_540_740_nm/wavecal_params"]
Out[9]:
<class 'netCDF4._netCDF4.Variable'>
float32 wavecal_params(mirror_step, xtrack, ephemeris_time)
num_coefficients: 1
start_spectral_channel: 470
num_spectral_channels: 100
adjust_nominal_wavelength: 1
path = /band_540_740_nm
unlimited dimensions:
current shape = (131, 2048, 37)
filling on, default _FillValue of 9.969209968386869e+36 used
thanks!
Thomas