mikebannis / parserasgeo

Import/export HEC-RAS geometry files
50 stars 21 forks source link

IEFA question #21

Closed BrianOBlanton closed 4 years ago

BrianOBlanton commented 4 years ago

Hi Mike, this package is great. I'm not a hydraulic person, rather a coastal oceanographer. I develop a storm surge model, and we are interested in using some HEC-RAS data to help with designing our storm surge model grids. All that to say that I am relatively unfamiliar with HEC model data.

A colleague gave me a g01 file, but prg.ParseRASGeo reports that: Permanent Ineff= does not follow IEFA in geometry file. Aborting.

All I really need to do is get out the station elevations, mannings n, and the bank station numbers, without writing a parser since parserasgeo seems to be the solution I need.

I'm not asking you to solve this for me, maybe just point in the right direction. The g01 file is attached if you have a minute to look.

Cheers, Brian

011003_NEW_RIVER.g01.txt

mikebannis commented 4 years ago

Brian,

If you don’t care about IEFA, the easiest approach would be to comment out the line that adds the iefa class (ineffective flow area) to the main cross section class. I think it’s in features/cross_section.py or similar. Then it should just ignore those lines. I haven’t touched the code in a bit and it might be out of date for newer versions of RAS. Let me know how it goes and good luck! PRG should be exactly what you need.

Mike Bannister Researcher II-Software Development | Strategic Energy Analysis Center National Renewable Energy Lab

15013 Denver West Parkway | Golden, CO 80401 303-275-3181 M: 404-434-5139

From: Brian Blanton notifications@github.com Reply-To: mikebannis/parserasgeo reply@reply.github.com Date: Friday, April 10, 2020 at 10:04 AM To: mikebannis/parserasgeo parserasgeo@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [mikebannis/parserasgeo] IEFA question (#21)

Hi Mike, this package is great. I'm not a hydraulic person, rather a coastal oceanographer. I develop a storm surge model, and we are interested in using some HEC-RAS data to help with designing our storm surge model grids. All that to say that I am relatively unfamiliar with HEC model data.

A colleague gave me a g01 file, but prg.ParseRASGeo reports that: Permanent Ineff= does not follow IEFA in geometry file. Aborting.

All I really need to do is get out the station elevations, mannings n, and the bank station numbers, without writing a parser since parserasgeo seems to be the solution I need.

I'm not asking you to solve this for me, maybe just point in the right direction. The g01 file is attached if you have a minute to look.

Cheers, Brian

011003_NEW_RIVER.g01.txthttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmikebannis%2Fparserasgeo%2Ffiles%2F4462315%2F011003_NEW_RIVER.g01.txt&data=02%7C01%7Cmike.bannister%40nrel.gov%7C70ee3ba6123741f1630d08d7dd68da8a%7Ca0f29d7e28cd4f5484427885aee7c080%7C0%7C0%7C637221314721311395&sdata=%2FupkKpSAO3GQQZb%2FcxrOmuyfO2us6MnTJ0ssNEhp62I%3D&reserved=0

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmikebannis%2Fparserasgeo%2Fissues%2F21&data=02%7C01%7Cmike.bannister%40nrel.gov%7C70ee3ba6123741f1630d08d7dd68da8a%7Ca0f29d7e28cd4f5484427885aee7c080%7C0%7C0%7C637221314721321387&sdata=v70CUMDovPd2QWZRPrc3XMGqXXJ2p9x5D66h95PAFmM%3D&reserved=0, or unsubscribehttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEOB4JSYP3DS65EWD2UN2W3RL47Q5ANCNFSM4MFRHEFA&data=02%7C01%7Cmike.bannister%40nrel.gov%7C70ee3ba6123741f1630d08d7dd68da8a%7Ca0f29d7e28cd4f5484427885aee7c080%7C0%7C0%7C637221314721321387&sdata=BDkqWx3dYsrUkBnIzNE%2FM4eFKc6lMjdVyItjQywConU%3D&reserved=0.

BrianOBlanton commented 4 years ago

that worked, Mike. Also had to comment out the culvert stuff.

Thanks a billion.

Cheers,

[signature_577695696]

Brian O. Blanton, Ph.D. Director of Earth Data Sciences Oceanographer Renaissance Computing Institute University of North Carolina at Chapel Hill 100 Europa Drive Suite 540 Chapel Hill, NC, 27517

Brian_Blanton@Renci.Orgmailto:Brian_Blanton@Renci.Org 919-445-9620 (O)

[signature_1645074049]


From: Mike Bannister notifications@github.com Sent: Friday, April 10, 2020 12:19 PM To: mikebannis/parserasgeo parserasgeo@noreply.github.com Cc: Blanton, Brian bblanton@renci.org; Author author@noreply.github.com Subject: Re: [mikebannis/parserasgeo] IEFA question (#21)

Brian,

If you don’t care about IEFA, the easiest approach would be to comment out the line that adds the iefa class (ineffective flow area) to the main cross section class. I think it’s in features/cross_section.py or similar. Then it should just ignore those lines. I haven’t touched the code in a bit and it might be out of date for newer versions of RAS. Let me know how it goes and good luck! PRG should be exactly what you need.

Mike Bannister Researcher II-Software Development | Strategic Energy Analysis Center National Renewable Energy Lab

15013 Denver West Parkway | Golden, CO 80401 303-275-3181 M: 404-434-5139

From: Brian Blanton notifications@github.com Reply-To: mikebannis/parserasgeo reply@reply.github.com Date: Friday, April 10, 2020 at 10:04 AM To: mikebannis/parserasgeo parserasgeo@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [mikebannis/parserasgeo] IEFA question (#21)

Hi Mike, this package is great. I'm not a hydraulic person, rather a coastal oceanographer. I develop a storm surge model, and we are interested in using some HEC-RAS data to help with designing our storm surge model grids. All that to say that I am relatively unfamiliar with HEC model data.

A colleague gave me a g01 file, but prg.ParseRASGeo reports that: Permanent Ineff= does not follow IEFA in geometry file. Aborting.

All I really need to do is get out the station elevations, mannings n, and the bank station numbers, without writing a parser since parserasgeo seems to be the solution I need.

I'm not asking you to solve this for me, maybe just point in the right direction. The g01 file is attached if you have a minute to look.

Cheers, Brian

011003_NEW_RIVER.g01.txthttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmikebannis%2Fparserasgeo%2Ffiles%2F4462315%2F011003_NEW_RIVER.g01.txt&data=02%7C01%7Cmike.bannister%40nrel.gov%7C70ee3ba6123741f1630d08d7dd68da8a%7Ca0f29d7e28cd4f5484427885aee7c080%7C0%7C0%7C637221314721311395&sdata=%2FupkKpSAO3GQQZb%2FcxrOmuyfO2us6MnTJ0ssNEhp62I%3D&reserved=0

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmikebannis%2Fparserasgeo%2Fissues%2F21&data=02%7C01%7Cmike.bannister%40nrel.gov%7C70ee3ba6123741f1630d08d7dd68da8a%7Ca0f29d7e28cd4f5484427885aee7c080%7C0%7C0%7C637221314721321387&sdata=v70CUMDovPd2QWZRPrc3XMGqXXJ2p9x5D66h95PAFmM%3D&reserved=0, or unsubscribehttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEOB4JSYP3DS65EWD2UN2W3RL47Q5ANCNFSM4MFRHEFA&data=02%7C01%7Cmike.bannister%40nrel.gov%7C70ee3ba6123741f1630d08d7dd68da8a%7Ca0f29d7e28cd4f5484427885aee7c080%7C0%7C0%7C637221314721321387&sdata=BDkqWx3dYsrUkBnIzNE%2FM4eFKc6lMjdVyItjQywConU%3D&reserved=0.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mikebannis/parserasgeo/issues/21#issuecomment-612104381, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AARBQQ3F7QYLBCTE2WMEOADRL5BKXANCNFSM4MFRHEFA.

mikebannis commented 4 years ago

Good to hear! If you don’t mind, send me a link to the finished product at some point. I’d be curious to see what the code is getting used for.

Mike Bannister Researcher II-Software Development | Strategic Energy Analysis Center National Renewable Energy Lab

15013 Denver West Parkway | Golden, CO 80401 303-275-3181 M: 404-434-5139

From: Brian Blanton notifications@github.com Reply-To: mikebannis/parserasgeo reply@reply.github.com Date: Monday, April 13, 2020 at 7:29 AM To: mikebannis/parserasgeo parserasgeo@noreply.github.com Cc: "Bannister, Mike" Mike.Bannister@nrel.gov, Comment comment@noreply.github.com Subject: Re: [mikebannis/parserasgeo] IEFA question (#21)

that worked, Mike. Also had to comment out the culvert stuff.

Thanks a billion.

Cheers,

[signature_577695696]

Brian O. Blanton, Ph.D. Director of Earth Data Sciences Oceanographer Renaissance Computing Institute University of North Carolina at Chapel Hill 100 Europa Drive Suite 540 Chapel Hill, NC, 27517

Brian_Blanton@Renci.Orgmailto:Brian_Blanton@Renci.Org 919-445-9620 (O)

[signature_1645074049]


From: Mike Bannister notifications@github.com Sent: Friday, April 10, 2020 12:19 PM To: mikebannis/parserasgeo parserasgeo@noreply.github.com Cc: Blanton, Brian bblanton@renci.org; Author author@noreply.github.com Subject: Re: [mikebannis/parserasgeo] IEFA question (#21)

Brian,

If you don’t care about IEFA, the easiest approach would be to comment out the line that adds the iefa class (ineffective flow area) to the main cross section class. I think it’s in features/cross_section.py or similar. Then it should just ignore those lines. I haven’t touched the code in a bit and it might be out of date for newer versions of RAS. Let me know how it goes and good luck! PRG should be exactly what you need.

Mike Bannister Researcher II-Software Development | Strategic Energy Analysis Center National Renewable Energy Lab

15013 Denver West Parkway | Golden, CO 80401 303-275-3181 M: 404-434-5139

From: Brian Blanton notifications@github.com Reply-To: mikebannis/parserasgeo reply@reply.github.com Date: Friday, April 10, 2020 at 10:04 AM To: mikebannis/parserasgeo parserasgeo@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [mikebannis/parserasgeo] IEFA question (#21)

Hi Mike, this package is great. I'm not a hydraulic person, rather a coastal oceanographer. I develop a storm surge model, and we are interested in using some HEC-RAS data to help with designing our storm surge model grids. All that to say that I am relatively unfamiliar with HEC model data.

A colleague gave me a g01 file, but prg.ParseRASGeo reports that: Permanent Ineff= does not follow IEFA in geometry file. Aborting.

All I really need to do is get out the station elevations, mannings n, and the bank station numbers, without writing a parser since parserasgeo seems to be the solution I need.

I'm not asking you to solve this for me, maybe just point in the right direction. The g01 file is attached if you have a minute to look.

Cheers, Brian

011003_NEW_RIVER.g01.txthttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmikebannis%2Fparserasgeo%2Ffiles%2F4462315%2F011003_NEW_RIVER.g01.txt&data=02%7C01%7Cmike.bannister%40nrel.gov%7C70ee3ba6123741f1630d08d7dd68da8a%7Ca0f29d7e28cd4f5484427885aee7c080%7C0%7C0%7C637221314721311395&sdata=%2FupkKpSAO3GQQZb%2FcxrOmuyfO2us6MnTJ0ssNEhp62I%3D&reserved=0

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmikebannis%2Fparserasgeo%2Fissues%2F21&data=02%7C01%7Cmike.bannister%40nrel.gov%7C70ee3ba6123741f1630d08d7dd68da8a%7Ca0f29d7e28cd4f5484427885aee7c080%7C0%7C0%7C637221314721321387&sdata=v70CUMDovPd2QWZRPrc3XMGqXXJ2p9x5D66h95PAFmM%3D&reserved=0, or unsubscribehttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEOB4JSYP3DS65EWD2UN2W3RL47Q5ANCNFSM4MFRHEFA&data=02%7C01%7Cmike.bannister%40nrel.gov%7C70ee3ba6123741f1630d08d7dd68da8a%7Ca0f29d7e28cd4f5484427885aee7c080%7C0%7C0%7C637221314721321387&sdata=BDkqWx3dYsrUkBnIzNE%2FM4eFKc6lMjdVyItjQywConU%3D&reserved=0.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mikebannis/parserasgeo/issues/21#issuecomment-612104381, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AARBQQ3F7QYLBCTE2WMEOADRL5BKXANCNFSM4MFRHEFA.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmikebannis%2Fparserasgeo%2Fissues%2F21%23issuecomment-612897977&data=02%7C01%7Cmike.bannister%40nrel.gov%7C1d55665d18a044c72e6108d7dfae9f53%7Ca0f29d7e28cd4f5484427885aee7c080%7C0%7C0%7C637223813400912166&sdata=%2FQ8PcsSDZmYBO44C1oO275tJlJ0LVupKPFZdVvGZjB0%3D&reserved=0, or unsubscribehttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEOB4JUVFNDGWUSEUTBKTK3RMMHRTANCNFSM4MFRHEFA&data=02%7C01%7Cmike.bannister%40nrel.gov%7C1d55665d18a044c72e6108d7dfae9f53%7Ca0f29d7e28cd4f5484427885aee7c080%7C0%7C0%7C637223813400912166&sdata=%2FDEdkwtgWdalAYsg96cXjMQraibLC0RPFJfR9j6J4mg%3D&reserved=0.

BrianOBlanton commented 4 years ago

Will do, although my purpose is mundane compared to real hydraulics!

Cheers,

[signature_577695696]

Brian O. Blanton, Ph.D. Director of Earth Data Sciences Oceanographer Renaissance Computing Institute University of North Carolina at Chapel Hill 100 Europa Drive Suite 540 Chapel Hill, NC, 27517

Brian_Blanton@Renci.Orgmailto:Brian_Blanton@Renci.Org 919-445-9620 (O)

[signature_1645074049]


From: Mike Bannister notifications@github.com Sent: Monday, April 13, 2020 10:23 AM To: mikebannis/parserasgeo parserasgeo@noreply.github.com Cc: Blanton, Brian bblanton@renci.org; Author author@noreply.github.com Subject: Re: [mikebannis/parserasgeo] IEFA question (#21)

Good to hear! If you don’t mind, send me a link to the finished product at some point. I’d be curious to see what the code is getting used for.

Mike Bannister Researcher II-Software Development | Strategic Energy Analysis Center National Renewable Energy Lab

15013 Denver West Parkway | Golden, CO 80401 303-275-3181 M: 404-434-5139

From: Brian Blanton notifications@github.com Reply-To: mikebannis/parserasgeo reply@reply.github.com Date: Monday, April 13, 2020 at 7:29 AM To: mikebannis/parserasgeo parserasgeo@noreply.github.com Cc: "Bannister, Mike" Mike.Bannister@nrel.gov, Comment comment@noreply.github.com Subject: Re: [mikebannis/parserasgeo] IEFA question (#21)

that worked, Mike. Also had to comment out the culvert stuff.

Thanks a billion.

Cheers,

[signature_577695696]

Brian O. Blanton, Ph.D. Director of Earth Data Sciences Oceanographer Renaissance Computing Institute University of North Carolina at Chapel Hill 100 Europa Drive Suite 540 Chapel Hill, NC, 27517

Brian_Blanton@Renci.Orgmailto:Brian_Blanton@Renci.Org 919-445-9620 (O)

[signature_1645074049]


From: Mike Bannister notifications@github.com Sent: Friday, April 10, 2020 12:19 PM To: mikebannis/parserasgeo parserasgeo@noreply.github.com Cc: Blanton, Brian bblanton@renci.org; Author author@noreply.github.com Subject: Re: [mikebannis/parserasgeo] IEFA question (#21)

Brian,

If you don’t care about IEFA, the easiest approach would be to comment out the line that adds the iefa class (ineffective flow area) to the main cross section class. I think it’s in features/cross_section.py or similar. Then it should just ignore those lines. I haven’t touched the code in a bit and it might be out of date for newer versions of RAS. Let me know how it goes and good luck! PRG should be exactly what you need.

Mike Bannister Researcher II-Software Development | Strategic Energy Analysis Center National Renewable Energy Lab

15013 Denver West Parkway | Golden, CO 80401 303-275-3181 M: 404-434-5139

From: Brian Blanton notifications@github.com Reply-To: mikebannis/parserasgeo reply@reply.github.com Date: Friday, April 10, 2020 at 10:04 AM To: mikebannis/parserasgeo parserasgeo@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [mikebannis/parserasgeo] IEFA question (#21)

Hi Mike, this package is great. I'm not a hydraulic person, rather a coastal oceanographer. I develop a storm surge model, and we are interested in using some HEC-RAS data to help with designing our storm surge model grids. All that to say that I am relatively unfamiliar with HEC model data.

A colleague gave me a g01 file, but prg.ParseRASGeo reports that: Permanent Ineff= does not follow IEFA in geometry file. Aborting.

All I really need to do is get out the station elevations, mannings n, and the bank station numbers, without writing a parser since parserasgeo seems to be the solution I need.

I'm not asking you to solve this for me, maybe just point in the right direction. The g01 file is attached if you have a minute to look.

Cheers, Brian

011003_NEW_RIVER.g01.txthttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmikebannis%2Fparserasgeo%2Ffiles%2F4462315%2F011003_NEW_RIVER.g01.txt&data=02%7C01%7Cmike.bannister%40nrel.gov%7C70ee3ba6123741f1630d08d7dd68da8a%7Ca0f29d7e28cd4f5484427885aee7c080%7C0%7C0%7C637221314721311395&sdata=%2FupkKpSAO3GQQZb%2FcxrOmuyfO2us6MnTJ0ssNEhp62I%3D&reserved=0

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmikebannis%2Fparserasgeo%2Fissues%2F21&data=02%7C01%7Cmike.bannister%40nrel.gov%7C70ee3ba6123741f1630d08d7dd68da8a%7Ca0f29d7e28cd4f5484427885aee7c080%7C0%7C0%7C637221314721321387&sdata=v70CUMDovPd2QWZRPrc3XMGqXXJ2p9x5D66h95PAFmM%3D&reserved=0, or unsubscribehttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEOB4JSYP3DS65EWD2UN2W3RL47Q5ANCNFSM4MFRHEFA&data=02%7C01%7Cmike.bannister%40nrel.gov%7C70ee3ba6123741f1630d08d7dd68da8a%7Ca0f29d7e28cd4f5484427885aee7c080%7C0%7C0%7C637221314721321387&sdata=BDkqWx3dYsrUkBnIzNE%2FM4eFKc6lMjdVyItjQywConU%3D&reserved=0.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mikebannis/parserasgeo/issues/21#issuecomment-612104381, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AARBQQ3F7QYLBCTE2WMEOADRL5BKXANCNFSM4MFRHEFA.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmikebannis%2Fparserasgeo%2Fissues%2F21%23issuecomment-612897977&data=02%7C01%7Cmike.bannister%40nrel.gov%7C1d55665d18a044c72e6108d7dfae9f53%7Ca0f29d7e28cd4f5484427885aee7c080%7C0%7C0%7C637223813400912166&sdata=%2FQ8PcsSDZmYBO44C1oO275tJlJ0LVupKPFZdVvGZjB0%3D&reserved=0, or unsubscribehttps://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEOB4JUVFNDGWUSEUTBKTK3RMMHRTANCNFSM4MFRHEFA&data=02%7C01%7Cmike.bannister%40nrel.gov%7C1d55665d18a044c72e6108d7dfae9f53%7Ca0f29d7e28cd4f5484427885aee7c080%7C0%7C0%7C637223813400912166&sdata=%2FDEdkwtgWdalAYsg96cXjMQraibLC0RPFJfR9j6J4mg%3D&reserved=0.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mikebannis/parserasgeo/issues/21#issuecomment-612919429, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AARBQQ6RREILHUXYLRT3OADRMMN4VANCNFSM4MFRHEFA.