summaryrefslogtreecommitdiff
path: root/lib/astrosub.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-10-09 14:12:35 +0200
committerChristoph Berg <myon@debian.org>2026-10-09 14:12:35 +0200
commitffc62c792c9a5196cb4ce7a353287dfe20db6524 (patch)
tree1269efa852935b183daae4bb33a58d1b4d2ffb53 /lib/astrosub.f90
parent059831534c7e884f0a607ed86b582fd00d821731 (diff)
New upstream version 3.3.0~beta1+dfsgupstream/3.3.0_beta1+dfsg
Diffstat (limited to 'lib/astrosub.f90')
-rw-r--r--lib/astrosub.f9010
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/astrosub.f90 b/lib/astrosub.f90
index 35437cc2..a2d627ad 100644
--- a/lib/astrosub.f90
+++ b/lib/astrosub.f90
@@ -10,7 +10,8 @@ module astro_module
contains
subroutine astrosub(nyear,month,nday,uth8,freq8,mygrid_cp, &
- hisgrid_cp,AzSun8,ElSun8,AzMoon8,ElMoon8,AzMoonB8,ElMoonB8, &
+ hisgrid_cp,use_home_coordinates,home_latitude,home_longitude, &
+ AzSun8,ElSun8,AzMoon8,ElMoon8,AzMoonB8,ElMoonB8, &
ntsky,ndop,ndop00,RAMoon8,DecMoon8,Dgrd8,poloffset8,xnr8,extraazel, &
techo8,width1,width2,bTx,AzElFileName_cp,jpleph_file_name_cp, &
ephemeris_result) &
@@ -23,8 +24,8 @@ contains
C_string_value, assignment(=)
integer(C_int), intent(in), value :: nyear, month, nday
- logical(C_bool), intent(in), value :: extraazel
- real(C_double), intent(in), value :: uth8, freq8
+ logical(C_bool), intent(in), value :: extraazel, use_home_coordinates
+ real(C_double), intent(in), value :: uth8, freq8, home_latitude, home_longitude
real(C_double), intent(out) :: AzSun8, ElSun8, AzMoon8, ElMoon8, AzMoonB8, &
ElMoonB8, Ramoon8, DecMoon8, Dgrd8, poloffset8, xnr8, techo8, width1, &
width2
@@ -34,6 +35,7 @@ contains
jpleph_file_name_cp
character(len=6) :: mygrid, hisgrid
+ logical :: use_home_coordinates_f
character(len=:), allocatable :: AzElFileName
character(len=1) :: c1
character(len=32) :: envvar
@@ -50,9 +52,11 @@ contains
mygrid = mygrid_cp
hisgrid = hisgrid_cp
+ use_home_coordinates_f = use_home_coordinates
AzElFileName = C_string_value (AzElFileName_cp)
jpleph_file_name = jpleph_file_name_cp
call astro0(nyear,month,nday,uth8,freq8,mygrid,hisgrid, &
+ use_home_coordinates_f,home_latitude,home_longitude, &
AzSun8,ElSun8,AzMoon8,ElMoon8,AzMoonB8,ElMoonB8,ntsky,ndop,ndop00, &
dbMoon8,RAMoon8,DecMoon8,HA8,Dgrd8,sd8,poloffset8,xnr8,dfdt,dfdt0, &
width1,width2,xlst8,techo8,ephemeris_result)