Skip to content
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

Convert score casings from SCORE to alfacase #3

Merged
merged 11 commits into from
Jun 21, 2024

Conversation

gabrielantao
Copy link
Contributor

@gabrielantao gabrielantao commented Jun 20, 2024

In this PR I implemented the loading and conversion of the data for CasingDescription: the lists of packers, tubing, casings and open hole. Some missing parameters were defined with default values and a default fluid was used as a placeholder. The tubing conversion was done here too.

PWPA-1933
PWPA-1931

Gabriel Antão added 6 commits June 18, 2024 16:10
Fill casing and open hole data to create description;
Read casing materials;
Add new constants for missing valus;
Add new unit for roughness;

PWPA-1933
@gabrielantao gabrielantao force-pushed the fb-PWPA-1933-convert-score-casings branch from 8f78504 to 502b4e6 Compare June 20, 2024 13:59
Fix the typing standard;

PWPA-1933
@gabrielantao gabrielantao force-pushed the fb-PWPA-1933-convert-score-casings branch from 502b4e6 to 000406b Compare June 20, 2024 14:03
Change the casing enumeration schema;

PWPA-1933
@gabrielantao gabrielantao force-pushed the fb-PWPA-1933-convert-score-casings branch from 000a6f1 to 91fb652 Compare June 21, 2024 13:09
src/alfasim_score/common.py Show resolved Hide resolved
src/alfasim_score/common.py Show resolved Hide resolved
@gabrielantao gabrielantao requested a review from ckiyono June 21, 2024 17:40
@gabrielantao gabrielantao force-pushed the fb-PWPA-1933-convert-score-casings branch from c4299ce to 3715d8c Compare June 21, 2024 18:09
Copy link

@ckiyono ckiyono left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done!

start_position = data["final_md"]
return open_hole

def _convert_casings(self) -> WellDescription:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
def _convert_casings(self) -> WellDescription:
def _convert_casings(self) -> CasingDescription:

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is job passing?
Isn't it dectect locally?
If so, check why.

src/alfasim_score/common.py Show resolved Hide resolved
start_position = data["final_md"]
return open_hole

def _convert_casings(self) -> WellDescription:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is job passing?
Isn't it dectect locally?
If so, check why.

Copy link

@gabrielantao gabrielantao merged commit d98211c into master Jun 21, 2024
14 checks passed
@gabrielantao gabrielantao deleted the fb-PWPA-1933-convert-score-casings branch June 21, 2024 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants