Misfit variation versus number of generated models

This forum is dedicated to discuss all problems and suggestions related to the inversion software
admin
Site Admin
Posts: 412
Joined: Mon Aug 13, 2007 11:48 am
Location: ISTerre
Contact:

Misfit variation versus number of generated models

Postby admin » Tue Feb 03, 2009 5:38 pm

Here is a script to compute the minimum misfit achieved as a function of the number of model generated (the same as in the status window in dinver graphical interface).

Code: Select all

gpdcreport *.report -pm | awk '
BEGIN{m=1e99}
{
  col=$2+3
  if ($col<m) {
    m=$col
    print $1,m
  }
}'

admin
Site Admin
Posts: 412
Joined: Mon Aug 13, 2007 11:48 am
Location: ISTerre
Contact:

Postby admin » Wed May 27, 2009 6:44 pm

The proposed script does not work due to comment lines (starting with '#'). So the correct script would be:

Code: Select all

gpdcreport *.report -pm | grep -v "#" | awk '
BEGIN{m=1e99}
{
  col=$2+3
  if ($col<m) {
    m=$col
    print $1,m
  }
}'


Return to “Dinver usage”

Who is online

Users browsing this forum: No registered users and 1 guest