Git Product home page Git Product logo

Comments (3)

emorway-usgs avatar emorway-usgs commented on September 27, 2024

In the screen capture below, note the presence/absence of single quotations around the text. Their presence (or lack there of) seems to hinge upon whether the linker file name and unit number appears in the name file. It is not necessary to list (instantiate) the linker file in the name file - using the .lmt file to specify the name (and unit #) of the linker file will get the job done, and seems to write the linker file with the single quotes which allows the small example problem included with this issue to run correctly (at least on my machine). The quickest work-around for this problem is to simply remove the the linker file, in this case the .ftl file, from the modflow name file.

I'll continue looking into a more permanent fix, however.

quotes

from mt3d-usgs.

emorway-usgs avatar emorway-usgs commented on September 27, 2024

@langevin-usgs The culprit in this bug report is the DELIM='APOSTROPHE' in the LMT package, see on or near line 463 in lmt.f (3rd to last line in the code below):

      INQUIRE(UNIT=IUMT3D,OPENED=LOP)
      IF(LOP) THEN
        REWIND (IUMT3D)
      ELSE
        IF(ILMTFMT.EQ.0) THEN
          OPEN(IUMT3D,FILE=FNAME,FORM=FORM,ACCESS=ACCESS,
     &      ACTION=ACTION(2),STATUS='REPLACE')
        ELSEIF(ILMTFMT.EQ.1) THEN
          OPEN(IUMT3D,FILE=FNAME,FORM='FORMATTED',ACTION=ACTION(2),
     &      STATUS='REPLACE',DELIM='APOSTROPHE')
        ENDIF
      ENDIF

The best work around that is backward compatible for keeping the FTL file specification in the name file is to close the unit number opened in the name file if it is the same as what's in LMT and reopen it using the LMT method, I think? So essentially what will happen is that if the linker file is specified in the name file, it will essentially be ignored. Otherwise, it is unclear how to detect the special case of opening the linker file from within the MODFLOW name file because the type is DATA or DATA(BINARY) which is a general case. We should discuss before I push forward.

from mt3d-usgs.

emorway-usgs avatar emorway-usgs commented on September 27, 2024

The fix for this issue is documented in the MF-NWT repo, see this issue. @rbwinst-usgs if you remove all listings of the actual linker file from the MODFLOW name file, I think these FTL issues that you are having will go away. At your convenience, could you confirm that to be the case, and if so, close the FTL issues [#54, this one (#55), #56, & #57]?

from mt3d-usgs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.