AIRES library reference: geomagneticr.


c
c     Routine directly callable from C/C++ (it could be necessary to
c     append an underscore, "_", to its name depending on the C/C++
c     compiler used).
c
c
      subroutine geomagneticr(latitude, longitude, altitude, fdate,
     +                        bnorth, bwest, bup)
c
c     Calculation of the cartesian components of the geomagnetic field
c     of a given location using the IGRF model.
c
c     Written by: S. J. Sciutto, La Plata 1997, 2000, 2003, 2005, 2010,
c                                         2018.
c
c
c     Arguments:
c     =========
c
c     latitude........ (input, double precision) Geographical latitude
c                      (deg).
c     longitude....... (input, double precision) Geographical
c                      longitude (deg).
c     altitude........ (input, double precision) Site altitude in
c                      meters above sea level.
c     fdate........... (input, double precision) Date, encoded as a
c                      single real number. If date is positive, then
c                      it is interpreted as a floating point year
c                      (months and days are fractions of years). If
c                      negative, then abs(date) = day + 32 * month +
c                      512 * year.
c     bnorth.......... (output, double precision) Northward component
c                      of the geomagnetic field (nT).
c     bwest........... (output, double precision) Westward component
c                      of the geomagnetic field (nT).
c     bup............. (output, double precision) Vertically-upward
c                      component of the geomagnetic field (nT).
c
c
c<--->


These pages are maintained by
Sergio J. Sciutto
Back to AIRES library index
Back to AIRES home [HOME]