|
ocssw
V2022
|
Public Member Functions | |
| def | __init__ (self, ifile, earth_orient_file, leap_sec_file, boresight) |
| def | write_geo_nc (self, nc_grp, calib_grp) |
Public Attributes | |
| input_file | |
| earth_orient_file | |
| leap_sec_file | |
| boresight | |
| iss_orientation | |
Static Public Attributes | |
| string | filein = "{}/hico/{}".format(ocvarroot,'nutation.dat') |
| nut_data = astreduc.initReduc(filein) | |
| astrodate = astreduc.get_astrodate(pvq_data['SecondsSinceEpoch'][0]) | |
| int | yyyy = astrodate.year% 100 |
| pmx | |
| pmy | |
| dut1 | |
| loda | |
| lsdat = astreduc.getLSData(leap_sec_file,astrodate.year,astrodate.month,astrodate.day) | |
| r_hico_to_iss = np.zeros((3,3)) | |
| int | imult = 1 |
| theta = np.zeros(nsamples) | |
| int | frac = imult*(i-255.5)/255.5 |
| tuple | theta = (theta + theta_stowed + float(quat_info['Theta (degrees from stowed position)']))*deg2Rad |
| svec = np.zeros((3,nsamples)) | |
| pm = astreduc.polarm(pmx,pmy) | |
| r_iss = np.array((3),dtype=float) | |
| q_iss = np.array((4),dtype=float) | |
| fout = quat_info['Expected Lon/Lat/View angle filename'] | |
| string | fheader = fout.split('.bil')[0] + '.hdr' |
| lines | |
| hicoHeader | |
| lon | |
| lat | |
| viewzen | |
| viewaz | |
| solarzen | |
| solaraz | |
| list | q_iss = [ pvq_data['ISSQS'][i],pvq_data['ISSQX'][i],pvq_data['ISSQY'][i],pvq_data['ISSQZ'][i] ] |
| rot_body = astreduc.quat_to_rot(q_iss) | |
| hico_jdate = astreduc.UT2time(astrodate.year,astrodate.month,astrodate.day,astrodate.hour,astrodate.minute,astrodate.second,dut1,lsdat) | |
| prec = astreduc.precession(hico_jdate.ttdb) | |
| DeltaPsi | |
| TrueEps | |
| MeanEps | |
| Omega | |
| nut | |
| st | |
| stdot | |
| OmegaEarth | |
| t_eci_to_ecef = np.dot(pm,np.dot(st,np.dot(nut,prec))) | |
| t_hico_to_ecef = np.dot(t_eci_to_ecef,np.dot(rot_body,r_hico_to_iss)) | |
| r_ecef = np.dot(t_eci_to_ecef,r_iss) | |
| v_ecef = np.dot(t_hico_to_ecef,svec) | |
| llh = astreduc.ecef2latlon(r_iss_new) | |
| view_zen | |
| view_az | |
| sol_zen_az = rad2Deg*astreduc.solar_geometry(astrodate.year,astrodate.month,astrodate.day,astrodate.hour,astrodate.minute,astrodate.second,llh[1,:],-llh[0,:]) | |
| dtype | |
| r_iss_new = np.tile(r_iss[np.newaxis],1).T | |
Detailed Description
Definition at line 9 of file cproc_hico.py.
Constructor & Destructor Documentation
◆ __init__()
| def __init__ | ( | self, | |
| ifile, | |||
| earth_orient_file, | |||
| leap_sec_file, | |||
| boresight | |||
| ) |
Definition at line 10 of file cproc_hico.py.
Member Function Documentation
◆ write_geo_nc()
| def write_geo_nc | ( | self, | |
| nc_grp, | |||
| calib_grp | |||
| ) |
Definition at line 219 of file cproc_hico.py.
Member Data Documentation
◆ astrodate
|
static |
Definition at line 58 of file cproc_hico.py.
◆ boresight
| boresight |
Definition at line 23 of file cproc_hico.py.
◆ DeltaPsi
|
static |
Definition at line 163 of file cproc_hico.py.
◆ dtype
|
static |
Definition at line 180 of file cproc_hico.py.
◆ dut1
|
static |
Definition at line 63 of file cproc_hico.py.
◆ earth_orient_file
| earth_orient_file |
Definition at line 21 of file cproc_hico.py.
◆ fheader
|
static |
Definition at line 123 of file cproc_hico.py.
◆ filein
Definition at line 55 of file cproc_hico.py.
◆ fout
|
static |
Definition at line 122 of file cproc_hico.py.
◆ frac
Definition at line 100 of file cproc_hico.py.
◆ hico_jdate
|
static |
Definition at line 160 of file cproc_hico.py.
◆ hicoHeader
|
static |
Definition at line 128 of file cproc_hico.py.
◆ imult
|
static |
Definition at line 94 of file cproc_hico.py.
◆ input_file
| input_file |
Definition at line 20 of file cproc_hico.py.
◆ iss_orientation
| iss_orientation |
Definition at line 49 of file cproc_hico.py.
◆ lat
|
static |
Definition at line 147 of file cproc_hico.py.
◆ leap_sec_file
| leap_sec_file |
Definition at line 22 of file cproc_hico.py.
◆ lines
|
static |
Definition at line 125 of file cproc_hico.py.
◆ llh
|
static |
Definition at line 174 of file cproc_hico.py.
◆ loda
|
static |
Definition at line 63 of file cproc_hico.py.
◆ lon
|
static |
Definition at line 146 of file cproc_hico.py.
◆ lsdat
|
static |
Definition at line 71 of file cproc_hico.py.
◆ MeanEps
|
static |
Definition at line 163 of file cproc_hico.py.
◆ nut
|
static |
Definition at line 163 of file cproc_hico.py.
◆ nut_data
|
static |
Definition at line 57 of file cproc_hico.py.
◆ Omega
|
static |
Definition at line 163 of file cproc_hico.py.
◆ OmegaEarth
|
static |
Definition at line 164 of file cproc_hico.py.
◆ pm
|
static |
Definition at line 116 of file cproc_hico.py.
◆ pmx
|
static |
Definition at line 63 of file cproc_hico.py.
◆ pmy
|
static |
Definition at line 63 of file cproc_hico.py.
◆ prec
|
static |
Definition at line 162 of file cproc_hico.py.
◆ q_iss [1/2]
|
static |
Definition at line 121 of file cproc_hico.py.
◆ q_iss [2/2]
|
static |
Definition at line 157 of file cproc_hico.py.
◆ r_ecef
|
static |
Definition at line 170 of file cproc_hico.py.
◆ r_hico_to_iss
|
static |
Definition at line 80 of file cproc_hico.py.
◆ r_iss
|
static |
Definition at line 120 of file cproc_hico.py.
◆ r_iss_new
|
static |
Definition at line 207 of file cproc_hico.py.
◆ rot_body
|
static |
Definition at line 158 of file cproc_hico.py.
◆ sol_zen_az
|
static |
Definition at line 176 of file cproc_hico.py.
◆ solaraz
|
static |
Definition at line 151 of file cproc_hico.py.
◆ solarzen
|
static |
Definition at line 150 of file cproc_hico.py.
◆ st
|
static |
Definition at line 164 of file cproc_hico.py.
◆ stdot
|
static |
Definition at line 164 of file cproc_hico.py.
◆ svec
|
static |
Definition at line 110 of file cproc_hico.py.
◆ t_eci_to_ecef
Definition at line 166 of file cproc_hico.py.
◆ t_hico_to_ecef
|
static |
Definition at line 168 of file cproc_hico.py.
◆ theta [1/2]
|
static |
Definition at line 97 of file cproc_hico.py.
◆ theta [2/2]
|
static |
Definition at line 103 of file cproc_hico.py.
◆ TrueEps
|
static |
Definition at line 163 of file cproc_hico.py.
◆ v_ecef
|
static |
Definition at line 173 of file cproc_hico.py.
◆ view_az
|
static |
Definition at line 174 of file cproc_hico.py.
◆ view_zen
|
static |
Definition at line 174 of file cproc_hico.py.
◆ viewaz
|
static |
Definition at line 149 of file cproc_hico.py.
◆ viewzen
|
static |
Definition at line 148 of file cproc_hico.py.
◆ yyyy
|
static |
Definition at line 60 of file cproc_hico.py.
The documentation for this class was generated from the following file:
- /gfs-oceanweb/web/ocssw/ocssw_src/src/l1bgen_hico/hico/cproc_hico.py


