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 geomagnetic(latitude, longitude, altitude, fdate, + bfield, inclination, declination) c c Calculation of the geomagnetic field of a given location c using the IGRF model. c c Written by: S. J. Sciutto, La Plata 1997, 2000, 2005, 2010, 2018. c c c Arguments: c ========= c c latitude........ (input, double precision) Geographical latitude c (deg). Must be in the proper range. c longitude....... (input, double precision) Geographical c longitude (deg). Must be in the proper range. 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 bfield.......... (output, double precision) Magnetic field c intensity (nT). c inclination..... (output, double precision) Inclination of the c magnetic field with respect to the local c horizontal plane (deg). c declination..... (output, double precision) Angle between the c local meridian and the horizontal component of c the magnetic field. c c c<--->
These pages are maintained by Sergio J. Sciutto |
Back to AIRES library index |
Back to AIRES home |