Hi Joseph,
I'm a bit slow of the mark but here goes...

Another option is to merge your grids into one mosaic, and then being able
to image all of your grids together.  I have no idea how big your surveys
are, if they are big this is quite taxing on your system resources, however
if they are of moderate size and reasonably close it can be quite effective.


The biggest benefit is using the image tool to image and stretch all your
grids at once.

To implement this I use a scripting language (in my case perl) to write a
geosoft script and then execute the script in oes to do the merging. 

#
#Perl script to write .gs to merge listed grids.
#
@lines = qw(    282500.grd
                282700.grd
                282900.grd
            );

# Create oasis script to merge grids into one
open(GS,">gridmerge.gs")|| die "Couldn't open gridmerge.gs";

system "del in.grd";
system "del merge.grd";

print GS<<THE_END;

SETINI         GRIDBOOL.GRD1=".\\$lines[0](GRD)"
SETINI         GRIDBOOL.GRD2=".\\$lines[1](GRD)"
SETINI         GRIDBOOL.OUT=".\\merge.grd"
SETINI         GRIDBOOL.BOOL="1"
SETINI         GRIDBOOL.SIZ="3"
SETINI         GRIDBOOL.OLAP="2"
GX             gridbool.gx

SETINI         WINEXEC.COMMAND="copy merge.grd in.grd /Y"
SETINI         WINEXEC.ARGS=""
SETINI         WINEXEC.TYPE="D"
SETINI         WINEXEC.EXIT="D"
GX             winexec.gx

THE_END


for ( $i=2; $i<@lines; $i++ ){
print GS<<THE_END;

SETINI         GRIDBOOL.GRD1=".\\in.grd(GRD)"
SETINI         GRIDBOOL.GRD2=".\\$lines[$i].grd(GRD)"
SETINI         GRIDBOOL.OUT=".\\merge.grd"
SETINI         GRIDBOOL.BOOL="1"
SETINI         GRIDBOOL.SIZ="3"
SETINI         GRIDBOOL.OLAP="2"
GX             gridbool.gx

SETINI         WINEXEC.COMMAND="copy merge.grd in.grd /Y"
SETINI         WINEXEC.ARGS=""
SETINI         WINEXEC.TYPE="D"
SETINI         WINEXEC.EXIT="D"
GX             winexec.gx

THE_END

}

close(GS);

system "oes gridmerge.gs /NEWGWS=temp.gws";

Cheers,
Andrew.

> ----------
> From:         Joseph Duval[SMTP:[EMAIL PROTECTED]]
> Reply To:     [EMAIL PROTECTED]
> Sent:         Tuesday, 27 July 1999 6:45
> To:   [EMAIL PROTECTED]
> Subject:      [geonet]: Display of grids using the same transfer function
> 
> I am working on the processing of about twenty different aerial gamma-ray 
> surveys and wish to be able to display grids from each separate survey on
> a 
> common map using the same imaging function.  I know how to use the image
> tool 
> to accomplish that but it is very time consuming and this is a repetitive
> task 
> that I expect to do many times.  I am looking for some way to automate
> this 
> process and have not been able to find a way to do it.  Does anyone know
> of a 
> way to accomplish this?
> --------------------------------------------------------
> E-mail: Joseph Duval<[EMAIL PROTECTED]>
> Phone: 703-648-6327  FAX: 703-648-6383
> Date: 07/26/99
> Time: 17:45:49
> U.S. Geological Survey
> 12201 Sunrise Valley Drive, MS 954
> Reston, VA 20192
> --------------------------------------------------------
> 
> _______________________________________________________
> More mailing list info http://www.geosoft.com/support/listserv/index.html
> 
_______________________________________________________
More mailing list info http://www.geosoft.com/support/listserv/index.html

Reply via email to