Welcome to the RAS Solution Forums HECRAS Controller save new plan through controller

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #8191
    Bharath
    Participant

    I am modifying the geometry file within a loop in HEC-RAS controller. Is it possible to save each of these edited files as a new Geometry file or a new plan? I observe that it overwrites the same file and this doesn’t allow for parallel computing/save specific outputs.

    #13533
    Chris G.
    Keymaster

    Yes, just give it a each new file a new name. If you want to stay consistent with RAS convention, keep the project name the same, just change the file extension (e.g. Project.g01, Project.g02, etc). You may have to rewrite the project and plan files accordingly so that RAS recognizes the new files.

    #13534
    Bharath
    Participant

    Once again, Thanks a lot Chris. Does doing so affect the hdf file associated with the geometry file? Like am i supposed to create a new hdf file for a new geometry file?

    #13535
    Chris G.
    Keymaster

    Return-Path: X-Original-To: [email protected]
    Delivered-To: [email protected]
    Received: from mail-pg0-f47.google.com (mail-pg0-f47.google.com [74.125.83.47])
    by mwork.nabble.com (Postfix) with ESMTP id DE2E832255673
    for ; Fri, 10 Mar 2017 20:24:28 -0700 (MST)
    Received: by mail-pg0-f47.google.com with SMTP id b129so45461355pgc.2
    for ; Fri, 10 Mar 2017 19:24:28 -0800 (PST)
    DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
    d=gmail.com; s=20161025;
    h=from:content-transfer-encoding:mime-version:date:subject:message-id
    :references:in-reply-to:to;
    bh=e34ZJabSrSQpcOrJfiTutJ+P417K6j+XtEN27qnIt+k=;
    b=fQCBIfKCm4fzw9extOtOVnqeNp1RystPsu/IX1ljuWJQSRrw4EzySLx6xuBH06VL11
    YmVfVocDxAnqKQM2EV+8cwPnwX6ji4biaelFX/88gX1JDf8HNpeoPlC0LfTZFHzjC/CO
    1lk9C3lpLju4gI+F+43GB8cEWXpa+e+OKIeVtyfkrVBnArjmbs/6f5KpyTLAa2V7BhK6
    tro/YoA7wSrsWNpTO8fwdgP51v7DnvRbOQ/N41OnXK3JY+/F8a+1buOHR3MZ/Orak/rq
    vD0LmsZ1BmMUX+2+sFIo4pMbLnw/KLNN2rlkxRm7s1E5TKwRlV8oNrrsaa8m+cuMwvJs
    c+4w==
    X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
    d=1e100.net; s=20161025;
    h=x-gm-message-state:from:content-transfer-encoding:mime-version:date
    :subject:message-id:references:in-reply-to:to;
    bh=e34ZJabSrSQpcOrJfiTutJ+P417K6j+XtEN27qnIt+k=;
    b=nRtIaNOjU8ENyQKfAYwLeb0VzXi3e9869PqYA0FNXWPAEdBiSPk/P4Q6wpG/jmlsoy
    olcG/NV7vJWIhYg1ooaY97GkmOfn6SDA5VXZKPAJFYI35lZnYflluNMvBfWbnMRQrkSb
    JVtj3seI6AopWaZ8DNvd/NoY1sZFpS/EkytTQfglsAFir4mSFy+vgA9uEAaxGfLSm4lR
    qPd/+Ds67dPvBoaB12cA21x1JterNlDFUXq/hakYq5QtP7qCN8/Jy2xrmTlB24E49AfY
    NNdCWiuvGqunIAIECovP0SRzMRc0SiREKYUZSdhsqk1pHLnZpG5l972FL3OMFr195tlr
    EJ4g==
    X-Gm-Message-State: AMke39lS6W/xFULtxBRkW7BI3XrvRkTOcWTfZ2iMzaepLYitEAY7uzCPiV2Z2HD/nLJQhA==
    X-Received: by 10.99.125.68 with SMTP id m4mr24541538pgn.13.1489202661879;
    Fri, 10 Mar 2017 19:24:21 -0800 (PST)
    Received: from [192.168.1.5] (c-73-37-84-115.hsd1.or.comcast.net. [73.37.84.115])
    by smtp.gmail.com with ESMTPSA id v9sm20980350pfg.133.2017.03.10.19.24.21
    for
    (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
    Fri, 10 Mar 2017 19:24:21 -0800 (PST)
    From: The RAS Solution Content-Type: multipart/alternative;
    boundary=Apple-Mail-F9A7553B-4BEC-4C2B-BD85-465486B090A0
    Content-Transfer-Encoding: 7bit
    Mime-Version: 1.0 (1.0)
    Date: Fri, 10 Mar 2017 19:24:20 -0800
    Subject: Re: save new plan through controller
    Message-Id: <[email protected]>
    References: <[email protected]> <[email protected]> <[email protected]>
    In-Reply-To: <[email protected]>
    To: “Bharath [via HEC-RAS Help]”
    X-Mailer: iPhone Mail (14A456)

    –Apple-Mail-F9A7553B-4BEC-4C2B-BD85-465486B090A0
    Content-Type: text/plain;
    charset=us-ascii
    Content-Transfer-Encoding: quoted-printable

    Once you bring in the newly created Geometry file, delete the associated HDF=
    file. Then save the geometry in RAS. That will force RAS to rewrite the HDF=
    file for the new geometry.=20

    Sent from my iPhone

    > On Mar 10, 2017, at 1:52 PM, Bharath [via HEC-RAS Help] wrote:
    >=20
    > Once again, Thanks a lot Chris. Does doing so affect the hdf file associat=
    ed with the geometry file? Like am i supposed to create a new hdf file for a=
    new geometry file?=20
    >=20
    >=20
    > If you reply to this email, your message will be added to the discussion b=
    elow:
    > http://hec-ras-help.1091112.n5.nabble.com/save-new-plan-through-controller=
    -tp3736p3739.html
    > To start a new topic under HECRAS Controller, email ml-node+s1091112n1184h=
    [email protected]=20
    > To unsubscribe from HECRAS Controller, click here.
    > NAML

    –Apple-Mail-F9A7553B-4BEC-4C2B-BD85-465486B090A0
    Content-Type: text/html;
    charset=utf-8
    Content-Transfer-Encoding: 7bit

    Once you bring in the newly created Geometry file, delete the associated HDF file. Then save the geometry in RAS. That will force RAS to rewrite the HDF file for the new geometry. 

    Sent from my iPhone

    On Mar 10, 2017, at 1:52 PM, Bharath [via HEC-RAS Help] <[email protected]> wrote:

    Once again, Thanks a lot Chris. Does doing so affect the hdf file associated with the geometry file? Like am i supposed to create a new hdf file for a new geometry file?


    If you reply to this email, your message will be added to the discussion below:

    http://hec-ras-help.1091112.n5.nabble.com/save-new-plan-through-controller-tp3736p3739.html

    To start a new topic under HECRAS Controller, email [email protected]
    To unsubscribe from HECRAS Controller, click here.
    NAML


    –Apple-Mail-F9A7553B-4BEC-4C2B-BD85-465486B090A0–

    #13536
    Anonymous
    Guest

    I think this thread gets at my question, but I want to clarify.

    I have a plan set up using g01 file, and I am using VBA/RASController to
    1. run the plan p01
    2. get a WSE from that plan and test it against a target WSE
    3. Rewrite the g01 file (using a g01temp as intermediate file) with new geometry for a single cross section.
    4. rerun the plan p01 with the updated g01 file.
    5. test the WSE again, and if necessary, repeat.

    I’m not sure RC.Project_Save is achieving the goal of RAS recognizing the new g01 file after the text is modified. Do I need to RC.Quit_RAS between every step? Do I just need to write to a different geometry file (g02) and then have a different plan (p02) and open it after the modifications have been made, then run the new plan?

    I am doing this on a geometry file that is +50k lines so I need it to be as efficient as possible.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.