#!/bin/csh -f
#

# Set the output file
set psfile = "./gmt.ps"

# Start the Postscript file 
# 
psbasemap -JM6.5i -R-126.826/-117.648/35.654/42.538 -Ba3.000f3.000/a2.000f2.000NEWS:."":  -X0.75i -Y1.0i -P -K > $psfile 

# Add the Coastline and National Boundaries
# 
pscoast -K -O -J -R -B -N1 -N2 -W -Dl -A64 -G250/250/200  >> $psfile 

# Add station locations.  
# Input are longitude latitude.
#
psxy -K -O -J -R -St0.25i -G0/0/0 <<EOF >> $psfile 
-121.110 38.430 
-122.061 39.940 
-120.853 36.516 
-123.197 39.305 
-121.734 39.819 
-123.880 40.544 
-122.236 37.876 
-120.365 38.342 
-123.349 38.987 
-122.153 37.919 
-123.896 40.112 
-122.261 37.874 
-120.150 37.673 
-121.111 41.798 
-120.387 38.035 
-122.252 37.872 
-122.458 38.345 
-123.338 39.469 
-122.894 40.455 
-119.969 38.168 
-120.729 40.625 
-123.001 37.698 
-121.781 36.688 
-123.256 38.862 
-121.994 41.122 
-122.604 39.312 
-122.509 41.213 
-121.561 36.385 
-121.461 40.816 
-123.232 40.523 
-123.072 38.993 
-124.030 40.817 
-121.825 38.258 
-122.239 37.404 
-122.185 40.643 
-120.149 37.214 
-122.880 38.145 
-120.459 37.389 
-121.643 37.342 
-124.041 41.705 
-119.744 37.420 
-123.745 39.314 
-122.443 38.879 
-120.303 41.902 
-122.421 41.831 
-121.328 37.505 
-120.801 41.278 
-122.411 38.431 
-121.500 39.555 
-121.287 37.008 
-124.343 40.288 
-122.788 40.177 
-122.366 38.010 
-120.731 41.602 
-122.145 38.481 
-124.111 40.335 
-121.867 38.545 
-122.039 40.795 
-123.649 41.910 
-121.447 36.764 
-123.071 41.663 
-121.864 37.287 
-122.854 41.392 
-121.403 36.598 
-121.839 41.783 
-124.068 41.873 
-121.786 39.229 
-121.467 41.965 
-121.683 38.097 
-122.249 37.878 
-122.984 40.746 
-121.757 37.622 
-122.710 41.732 
-122.710 41.732 
-122.710 41.732 
-120.537 39.338 
-120.969 38.946 
-121.105 38.761 
-122.061 39.940 
-121.040 36.578 
-121.742 36.541 
-121.378 36.384 
-121.403 36.293 
-121.315 36.611 
-121.626 36.580 
-121.492 36.406 
-121.767 36.228 
-121.731 36.407 
-121.899 36.305 
-121.259 36.705 
-121.520 36.667 
-121.058 36.455 
-121.934 37.521 
-122.035 37.558 
-122.236 37.811 
-122.058 37.592 
-122.263 37.896 
-122.294 37.896 
-122.312 37.926 
-121.994 37.559 
-122.117 37.979 
-122.064 37.695 
-121.980 37.794 
-121.971 37.789 
-122.277 37.863 
-122.290 37.847 
-121.912 37.467 
-121.826 37.376 
-121.962 37.750 
-121.883 37.354 
-122.020 37.829 
-122.278 37.777 
-121.926 37.524 
-121.824 37.271 
-122.110 37.657 
-121.772 37.343 
-121.903 37.668 
-122.290 37.976 
-122.133 37.682 
-121.756 37.286 
-122.054 37.656 
-121.626 37.163 
-122.423 37.857 
-121.535 37.348 
-121.790 37.533 
-121.708 37.748 
-122.063 37.816 
-121.641 37.818 
-121.673 37.259 
-121.283 37.385 
-122.011 37.645 
-121.769 37.373 
-122.065 37.738 
-122.177 37.781 
-121.653 37.478 
-121.834 37.449 
-121.495 37.456 
-121.803 37.810 
-121.887 37.541 
-121.965 37.608 
-122.216 37.989 
-122.409 37.949 
-121.993 37.859 
-121.907 37.912 
-122.119 37.724 
-122.311 37.957 
-121.940 37.643 
-122.016 38.027 
-122.094 37.764 
-122.094 37.765 
-122.092 37.766 
-122.093 37.765 
-122.092 37.765 
-121.836 37.624 
-122.362 37.808 
-122.097 37.563 
-123.803 39.305 
-123.451 38.710 
-123.468 39.132 
-123.681 39.022 
-122.757 38.711 
-122.683 38.814 
-123.709 39.117 
-123.015 38.769 
-122.795 38.808 
-122.289 39.327 
-122.846 38.769 
-122.823 39.127 
-123.541 39.044 
-123.468 39.133 
-123.635 39.201 
-122.946 38.845 
-122.671 39.917 
-122.671 38.939 
-123.192 38.940 
-122.523 38.850 
-123.128 39.374 
-123.301 39.206 
-123.531 38.833 
-121.647 36.877 
-121.076 37.029 
-121.491 36.883 
-121.662 36.931 
-121.582 36.955 
-121.742 36.852 
-121.450 37.096 
-121.299 36.902 
-121.632 37.041 
-121.918 36.599 
-121.360 37.187 
-121.513 37.213 
-121.503 36.819 
-122.392 37.593 
-122.154 37.368 
-122.036 37.317 
-121.960 37.296 
-122.102 37.357 
-122.245 37.492 
-122.188 37.476 
-122.436 37.458 
-122.214 37.369 
-122.467 37.756 
-121.876 37.332 
-122.229 37.461 
-122.198 37.434 
-122.441 37.766 
-122.445 37.630 
-122.347 37.526 
-122.073 37.395 
-122.024 37.349 
-122.084 37.348 
-122.196 37.453 
-122.113 37.370 
-122.378 37.558 
-122.298 37.528 
-122.238 37.536 
-122.453 37.621 
-122.441 37.800 
-122.295 37.560 
-122.019 37.194 
-122.459 37.588 
-122.008 37.313 
-122.245 37.300 
-121.825 37.247 
-121.922 37.400 
-122.443 37.778 
-122.405 37.713 
-122.497 37.731 
-122.266 37.563 
-121.877 37.101 
-121.925 37.352 
-122.061 36.987 
-122.340 37.343 
-122.153 37.319 
-122.011 37.172 
-121.828 36.927 
-122.190 37.360 
-122.458 37.516 
-121.706 37.011 
-122.209 37.284 
-122.475 37.795 
-122.347 37.199 
-122.399 37.674 
-122.176 37.404 
-122.092 37.334 
-121.799 37.206 
-122.002 37.074 
-124.175 41.807 
-124.100 40.936 
-123.195 39.892 
-123.853 40.246 
-124.266 40.257 
-123.582 39.686 
-123.821 40.426 
-123.514 40.538 
-124.337 40.476 
-123.795 41.728 
-123.425 39.639 
-123.220 40.660 
-123.733 40.875 
-123.481 39.809 
-124.121 40.417 
-123.709 40.202 
-123.453 41.279 
-124.057 40.220 
-123.184 39.563 
-123.908 41.523 
-124.023 41.158 
-123.877 41.830 
-124.151 41.054 
-121.949 41.260 
-122.156 41.795 
-122.244 41.492 
-122.068 41.409 
-121.643 40.804 
-121.582 40.512 
-122.294 41.381 
-120.806 40.419 
-122.196 41.345 
-122.122 41.274 
-122.149 40.512 
-122.126 40.209 
-121.947 40.641 
-120.076 37.559 
-120.849 38.255 
-120.850 38.257 
-120.851 38.258 
-120.850 38.257 
-120.614 38.230 
-120.572 37.625 
-122.494 37.960 
-122.141 38.183 
-122.661 38.449 
-122.788 38.534 
-122.682 38.428 
-122.632 38.351 
-122.759 38.453 
-122.550 38.299 
-122.720 38.448 
-122.659 38.053 
-121.970 38.460 
-122.253 38.440 
-122.834 38.344 
-122.718 37.921 
-122.475 38.002 
-122.616 37.997 
-122.943 38.310 
-122.896 38.466 
-122.358 38.217 
-122.523 38.050 
-122.713 38.165 
-122.553 38.743 
-122.149 38.123 
-122.268 38.851 
-121.929 38.763 
-122.258 38.076 
-122.083 38.281 
-122.797 38.042 
-123.019 37.996 
-122.252 38.572 
-122.578 38.349 
-122.464 38.200 
-122.596 37.924 
-122.450 38.144 
-122.798 38.240 
-122.663 38.389 
-122.106 38.400 
-121.715 38.657 
-122.401 38.630 
-121.462 39.652 
-120.954 36.320 
-122.262 37.942 
-122.261 37.943 
-122.262 37.944 
-122.263 37.944 
EOF

# Add event locations.
# Input are longitude latitude.
#
psxy -O -K -J -R -W10/0/0/0  -Sc0.25i  <<EOF >> $psfile 
-124.730 40.314 
EOF

# End the Postscript File
# 
psxy -R -J -O /dev/null >> $psfile 

