Go to the documentation of this file.
20 if 'x' not in nc_fid.dimensions.keys():
21 nc_fid.createDimension(
'x',norb)
22 nc_fid.createDimension(
'y',3)
25 orb_time_new = nc_fid.createVariable(
'/navigation_data/orb_time',
'f8',(
'x'),fill_value=-999)
26 orb_pos_new = nc_fid.createVariable(
'/navigation_data/orb_pos',float,(
'x',
'y'),fill_value=-999999)
27 orb_vel_new = nc_fid.createVariable(
'/navigation_data/orb_vel',float,(
'x',
'y'),fill_value=-999)
30 orb_time_new.long_name =
"Orbit vector time (seconds of day)"
31 orb_pos_new.long_name =
"Orbit position vectors"
32 orb_vel_new.long_name =
"Orbit velocity vectors"
33 orb_time_new.valid_min = 0.0
34 orb_pos_new.valid_min = -7000.0
35 orb_vel_new.valid_min = -8.0
36 orb_time_new.valid_max = 86400.0
37 orb_pos_new.valid_max = 7000.0
38 orb_vel_new.valid_max = 8.0
39 orb_time_new.units =
"seconds"
40 orb_pos_new.units =
"kilometers"
41 orb_vel_new.units =
"kilometers/second"
def remake_orbit_objects(norb, nc_fid, ngid)