You are currently not logged in or haven't verified your email in a while. Please login or complete the verifictation process to post.
StreamTeam Forum : American Whitewater Forums
Discussion area for StreamTeam and AW National River Database issues 
Goto Thread: PreviousNext
Goto: Forum ListMessage ListNew TopicSearchLog In
Editing virtual gages - again...
Posted by: skipmorris (IP Logged)
Date: November 24, 2009 09:22PM

I'm having trouble editing virtual gages.

From the 'stream team' page I click on 'manage virtual gages'.

From there I see a 'create virtual gage' button, but nothing to edit
existing gages. I also see the page flows off the right side of the
screen. Are we missing something?

(I'm trying to change virtual gage 49083 to change the parameter
from 'stage' to 'meters flow'.)

Some related questions:

The algorithm code appears to be perl code. Correct?

What are the parameters the 'getValue' routine needs? And what
are the values of GMETRIC_FLOW and GMETRIC_STAGE?

What is the '$time' used for?

And I two formats for the return. Can anyone explain?

/Skip

Re: Editing virtual gages - again...
Posted by: skipmorris (IP Logged)
Date: November 24, 2009 11:09PM

On the last...

I meant to say: "What OTHER values are there for
the getValue routine BESIDES the GMETRIC_STAGE
and GMETRIC_FLOW.

And if there's a button missing for the "edit virtual gage", can
someone just supply the URL so I can do it please.

/Skip

Re: Editing virtual gages - again...
Posted by: rgroth (IP Logged)
Date: February 23, 2010 11:03PM

You got this fixed, right?

The options are:



define('GMETRIC_FLOW',2);
define('GMETRIC_STAGE',8);
define('GMETRIC_FLOW2',10);
define('GMETRIC_STAGE2',11);
define('GMETRIC_PRECIP_CUMULATIVE',7);
define('GMETRIC_PRECIP_RATE',4);
define('GMETRIC_PRECIP_24H_RATE',5);
define('GMETRIC_PRECIP_6H_RATE',6);
define('GMETRIC_PRECIP_12H_RATE',3);
define('GMETRIC_CORRELATION',1);
define('GMETRIC_M_STAGE',12);
define('GMETRIC_M_FLOW',13);
define('GMETRIC_PERCENT',14);
define('GMETRIC_STAGE_INCHES',15);

The code is PHP.

The return parameters are:

METRIC, VALUE, SECONDS_DELAY (negative for advance), "COMMENT"



Sorry, you do not have permission to post/reply in this forum.
This forum powered by Phorum.