#!/bin/csh -f  

#The following environment variables were active:
#setenv GOA /GIPSY_source/daily_builds/goa-ops.2008.05.28a

#You may need the following source command to set your PATH if you have changed it
#source  /GIPSY_source/daily_builds/goa-ops.2008.05.28a/rc_gipsy.csh
( /GIPSY_source/daily_builds/goa-ops.2008.05.28a/bin/gd2p.pl \
      -i \
      ostm1970.10o \
      -r \
      300 \
      -d \
      2010-07-16 \
      -w_elmin \
      0.0 \
      -pb_min_slip \
      10.0 \
      -e \
      "-a 10 -PC -LC" \
      -n \
      JA2 \
      -gen_eci \
      "echo Using leo_nom.eci for nominal solution" \
      -oi_template \
      /home/ftp/pub/usrs/bjh/garland/jason2_new/run/templates/template_custom.nml \
      -trjnml \
      /home/ftp/pub/usrs/bjh/garland/jason2_new/run/templates/template_trajedy.nml \
      -q \
      leo.quat \
      -dwght \
      1e-05 \
      0.0004 \
      -dfp \
      3 \
      -rfp \
      1 \
      -CG_Phs \
      1.408794 \
      -0.2171 \
      -0.592275 \
      -CG_Code \
      1.408794 \
      -0.2171 \
      -0.592275 \
      -AntOr \
      0.258969313954337 \
      0.0 \
      -0.965885549343202 \
      -0.965885549343202 \
      0.0 \
      -0.258969313954337 \
      -post_wind \
      0.005 \
      5e-05 \
      -post_wind_red \
      0.001 \
      2.5e-05 \
      -oi_prtls_rd \
      COS1_C \
      2 \
      2 \
      6750 \
      21600 \
      SIN1_C \
      2 \
      2 \
      6750 \
      21600 \
      COS1_L \
      2 \
      2 \
      6750 \
      21600 \
      SIN1_L \
      2 \
      2 \
      6750 \
      21600 \
      CONST_L \
      1 \
      1 \
      1800 \
      21600 \
      CONST_H \
      1 \
      1 \
      1800 \
      21600 \
      -oi_prtls_dyn \
      DRAG \
      1000 \
      COS1_C \
      1.0e8 \
      COS1_L \
      1.0e8 \
      SIN1_C \
      1.0e8 \
      SIN1_L \
      1.0e8 \
      -start \
      "16-JUL-2010 00:00:00.0000" \
      -stop \
      "17-JUL-2010 00:00:00.0000" \
      -AntCal \
      /home/ftp/pub/usrs/bjh/garland/jason2_new/run/templates/GPS1_LCPC_dynorb_flinnr_3.xyz \
      -orb_clk \
      "flinnR /home/ftp/pub/usrs/bjh/garland/jason2_new/run/JPL_GPS_Products/2010" \
 > gd2p.log ) |&  sed '/^Skipping namelist/d' > gd2p.err 

