Go to the documentation of this file.
8 with netCDF4.Dataset(l1afile)
as src, netCDF4.Dataset(l1arenav,
"w")
as dst:
10 dst.setncatts(src.__dict__)
12 for name, dimension
in src.dimensions.items():
14 name, (len(dimension)
if not dimension.isunlimited()
else None))
16 for name, group
in src.groups.items():
18 dst[name].setncatts(src[name].__dict__)
19 for vname,variable
in group.variables.items():
20 if vname.find(
'orb_')>-1:
22 gvname = name+
'/'+vname
23 x = dst.createVariable(gvname, variable.datatype, variable.dimensions)
25 dst[gvname].setncatts(src[gvname].__dict__)
26 dst[gvname][:] = src[gvname][:]
def drop_orbit_objects(l1afile, l1arenav)