[cig-commits] r12368 - mc/1D/hc/trunk

becker at geodynamics.org becker at geodynamics.org
Tue Jul 1 18:17:36 PDT 2008


Author: becker
Date: 2008-07-01 18:17:36 -0700 (Tue, 01 Jul 2008)
New Revision: 12368

Modified:
   mc/1D/hc/trunk/ggrd_grdtrack_util.c
   mc/1D/hc/trunk/make_tar
Log:
Minor improvement in GMT file handling.



Modified: mc/1D/hc/trunk/ggrd_grdtrack_util.c
===================================================================
--- mc/1D/hc/trunk/ggrd_grdtrack_util.c	2008-07-02 01:00:14 UTC (rev 12367)
+++ mc/1D/hc/trunk/ggrd_grdtrack_util.c	2008-07-02 01:17:36 UTC (rev 12368)
@@ -450,6 +450,17 @@
     GMT_make_dnan (GMT_d_NaN);
     GMT_io_init ();/* Init the table i/o structure */
     GMT_grdio_init();
+    if(strcmp(edgeinfo_string,"-fg")==0){
+      GMT_io.in_col_type[GMT_X] = GMT_io.out_col_type[GMT_X] = GMT_IS_LON;
+      GMT_io.in_col_type[GMT_Y] = GMT_io.out_col_type[GMT_Y] = GMT_IS_LAT;
+    }
+    if(strcmp(edgeinfo_string,"-fx")==0){
+      GMT_io.in_col_type[GMT_X] = GMT_io.out_col_type[GMT_X] = GMT_IS_LON;
+    }
+    if(strcmp(edgeinfo_string,"-fy")==0){
+      GMT_io.in_col_type[GMT_Y] = GMT_io.out_col_type[GMT_Y] = GMT_IS_LAT;
+    }
+    
     gmt_init = TRUE;
   }
 

Modified: mc/1D/hc/trunk/make_tar
===================================================================
--- mc/1D/hc/trunk/make_tar	2008-07-02 01:00:14 UTC (rev 12367)
+++ mc/1D/hc/trunk/make_tar	2008-07-02 01:17:36 UTC (rev 12368)
@@ -2,7 +2,7 @@
 #
 # create a tar file 
 #
-ver=${1-0.1.5}
+ver=${1-0.1.6}
 date=`date '+%m%d%y'`
 
 tf=$HOME/tmp/hc-$ver.$date.tgz 



More information about the cig-commits mailing list