; Plot Geotail trajectories in Y-Z, and X-Z planes overlaid ; with model bowshocks, magnetopauses, etc. ; ; 10/09/97 SHC adapted from orbit_hk.pro also by SHC ; ;-------subroutine aberration ;pro aberration,x,y,angle=angle ; if(n_elements(angle) eq 0) then angle=5.0 ;degrees, assuming vsw=400 km/s ; angle_rad=-angle*0.017453292 ;!PI/180. ; a1=cos(angle_rad) ; a2=sin(angle_rad) ; x_buf= x*a1+y*a2 ; y_buf=-x*a2+y*a1 ; x=x_buf ; y=y_buf ; return ;end ;------ subroutine get_mp ; pro get_mp,xmp,ymp,n,standoff_bs,pdyn_index path='/export/local/www/space/spdf/bowshock/idl/' theta1=320.d0 theta2=320.d0 DegtoRad=!PI/180.d0 dtheta1=theta1/(n-1) dtheta2=theta2/(n-1) theta1=-160.d0 theta2=-160.d0 r_bs=0. x1=0. y1=0. z1=0. rnorm=0. bs_factor=1.0 standoff_bs2=0.0 n2=n*2 n3=n*3 if(pdyn_index eq 1) then bs_factor=1.0 $ else bs_factor=(1.8/8.0)^(1.0/6.0) bs_factorx=(1.8/7.0)^(1.0/6.0) s1=call_external(path+'bs_mp.so','bowshock_peredo_idl',$ 10.,2.0,13.,0.0,0.0,standoff_bs2,y1,z1,rnorm,2L) for i=0,n-1 do begin if(pdyn_index eq 1) then begin xmp(i)=11.000d0*cos(theta1*DegtoRad) if(xmp(i) lt 0.) then xmp(i)=xmp(i)*2.0 r=217.2d0-0.14*xmp(i)*xmp(i)-18.2*xmp(i) if(r lt 0.) then r=0. ymp(i)=sqrt(r) ; Sibeck's mp model ; for 1.47