FACT++  1.0
int eraApio13 ( double  utc1,
double  utc2,
double  dut1,
double  elong,
double  phi,
double  hm,
double  xp,
double  yp,
double  phpa,
double  tc,
double  rh,
double  wl,
eraASTROM astrom 
)

Definition at line 3 of file apio13.c.

References eraApio(), eraEra00(), eraRefco(), eraSp00(), eraTaitt(), eraUtctai(), and eraUtcut1().

Referenced by eraAtio13(), eraAtoi13(), t_apio13(), t_atioq(), and t_atoiq().

168 {
169  int j;
170  double tai1, tai2, tt1, tt2, ut11, ut12, sp, theta, refa, refb;
171 
172 /* UTC to other time scales. */
173  j = eraUtctai(utc1, utc2, &tai1, &tai2);
174  if ( j < 0 ) return -1;
175  j = eraTaitt(tai1, tai2, &tt1, &tt2);
176  j = eraUtcut1(utc1, utc2, dut1, &ut11, &ut12);
177  if ( j < 0 ) return -1;
178 
179 /* TIO locator s'. */
180  sp = eraSp00(tt1, tt2);
181 
182 /* Earth rotation angle. */
183  theta = eraEra00(ut11, ut12);
184 
185 /* Refraction constants A and B. */
186  eraRefco(phpa, tc, rh, wl, &refa, &refb);
187 
188 /* CIRS <-> observed astrometry parameters. */
189  eraApio(sp, theta, elong, phi, hm, xp, yp, refa, refb, astrom);
190 
191 /* Return any warning status. */
192  return j;
193 
194 /* Finished. */
195 
196 }
int eraUtctai(double utc1, double utc2, double *tai1, double *tai2)
Definition: utctai.c:3
double eraSp00(double date1, double date2)
Definition: sp00.c:3
double eraEra00(double dj1, double dj2)
Definition: era00.c:3
void eraApio(double sp, double theta, double elong, double phi, double hm, double xp, double yp, double refa, double refb, eraASTROM *astrom)
Definition: apio.c:3
void eraRefco(double phpa, double tc, double rh, double wl, double *refa, double *refb)
Definition: refco.c:3
int eraTaitt(double tai1, double tai2, double *tt1, double *tt2)
Definition: taitt.c:3
int eraUtcut1(double utc1, double utc2, double dut1, double *ut11, double *ut12)
Definition: utcut1.c:3

+ Here is the call graph for this function:

+ Here is the caller graph for this function: