-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uv3d utility #36
Comments
@water-e I have two questions:
|
1. Take a look at the uv3d.py design in the design document. The usual one is a very small text string, easily stored in the script but templated on number of days. I think it is in there.
2. You should use python os.path tools to create or follow links. You shouldn't have to use commands.
…________________________________
From: HansKimDWR ***@***.***>
Sent: Friday, July 21, 2023 4:01 PM
To: CADWRDeltaModeling/BayDeltaSCHISM ***@***.***>
Cc: Ateljevich, ***@***.*** ***@***.***>; Mention ***@***.***>
Subject: Re: [CADWRDeltaModeling/BayDeltaSCHISM] uv3d utility (Issue #36)
@water-e<https://github.com/water-e> I have two questions:
1. What do we do if interpolate_variables.in is not given? Should we create interpolate_variables.in based on the contents of param.nml?
2. Could we assume Linux environment? That is, could we use "ln -sf" whenever symbolic links are created?
—
Reply to this email directly, view it on GitHub<#36 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AG2AJCY3OZ6NHGZIYID7ZPLXRMC5LANCNFSM6AAAAAA2SIVWAI>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@water-e I have re-read the design document, but something is still not clear to me: interpolate_variables8 is a binary that is hard-wired to read interpolate_variables.in. Without this input file, how do we give parameter values to the binary? Could you give more guidance please? |
@water-e @dwr-psandhu My latest commit to uv3D (https://github.com/CADWRDeltaModeling/BayDeltaSCHISM/blob/master/bdschism/bdschism/uv3d.py) contains all necessary implementations except for running interpolate_variables8 executable. |
The real question is how much of this type of thing to load into a script called uv3d.py. Maybe there have to be requirements on the environment? ulimit is pretty standard.
…________________________________
From: HansKimDWR ***@***.***>
Sent: Tuesday, July 25, 2023 4:35 PM
To: CADWRDeltaModeling/BayDeltaSCHISM ***@***.***>
Cc: Ateljevich, ***@***.*** ***@***.***>; Mention ***@***.***>
Subject: Re: [CADWRDeltaModeling/BayDeltaSCHISM] uv3d utility (Issue #36)
@water-e<https://github.com/water-e> @dwr-psandhu<https://github.com/dwr-psandhu> My latest commit to uv3D (https://github.com/CADWRDeltaModeling/BayDeltaSCHISM/blob/master/bdschism/bdschism/uv3d.py) contains all necessary implementations except for running interpolate_variables8 executable.
The issue is that the series of subprocess.run() commands at the end of the main function does not run correctly. It seems interpolate_variables8 is run even before the command "ulimit -s unlimited" is registered, and segmentation fault error is encountered.
Is there a better way of running series of shell commands?
—
Reply to this email directly, view it on GitHub<#36 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AG2AJC62KYEW7U6QQGPLWF3XSBJ3VANCNFSM6AAAAAA2SIVWAI>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Design is in BayDeltaSCHISM/bdschism_design.py.txt, including an interface that includes the required options. Need:
implementation, in stages:
The text was updated successfully, but these errors were encountered: