Skip to content

Fx path for exglobal_prep_ocean_obs.py in JGLOBAL_PREP_OCEAN_OBS#2356

Closed
ShastriPaturi wants to merge 9 commits into
NOAA-EMC:developfrom
ShastriPaturi:bugfix/jjob_prepoceanobs
Closed

Fx path for exglobal_prep_ocean_obs.py in JGLOBAL_PREP_OCEAN_OBS#2356
ShastriPaturi wants to merge 9 commits into
NOAA-EMC:developfrom
ShastriPaturi:bugfix/jjob_prepoceanobs

Conversation

@ShastriPaturi
Copy link
Copy Markdown

This PR fixes path for exglobal_prep_ocean_obs.py in jobs/JGLOBAL_PREP_OCEAN_OBS

Fixes #2353

@WalterKolczynski-NOAA WalterKolczynski-NOAA changed the title fix path for exglobal_prep_ocean_obs.py in jobs/JGLOBAL_PREP_OCEAN_OBS Fx path for exglobal_prep_ocean_obs.py in JGLOBAL_PREP_OCEAN_OBS Feb 28, 2024
Comment thread jobs/JGLOBAL_PREP_OCEAN_OBS Outdated
# Run relevant script

EXSCRIPT=${GDASPREPOCNOBSPY:-${HOMEgfs}/ush/exglobal_prep_ocean_obs.py}
EXSCRIPT=${GDASPREPOCNOBSPY:-${HOMEgfs}/scripts/exglobal_prep_ocean_obs.py}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't think this script is available as it is being linked in ush. See here

Copy link
Copy Markdown
Contributor

@aerorahul aerorahul left a comment

Choose a reason for hiding this comment

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

link_workflow.sh also needs to be updated for this change to take effect.

export DMPDIR=@DMPDIR@

# For BUFR2IODA json and python scripts
export JSON_TMPL_DIR=${HOMEgfs}/sorc/gdas.cd/parm/ioda/bufr2ioda
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
export JSON_TMPL_DIR=${HOMEgfs}/sorc/gdas.cd/parm/ioda/bufr2ioda
export JSON_TMPL_DIR=${HOMEgfs}/parm/gdas/ioda/bufr2ioda

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@aerorahul Trying to address this before opening the new PR - is the idea to link the yaml files from ${HOMEgfs}/sorc/gdas.cd/parm/ioda/bufr2ioda to ${HOMEgfs}/parm/gdas/ioda/bufr2ioda?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yes.
All files from sorc/gdas.cd should be linked in the appropriate location in HOMEgfs/. The scripts, yamls, etc. should reference them using EXECgfs or PARMgfs or SCRgfs or USHgfs instead of HOMEgfs/sorc/gdas.cd/+parm or scripts or ush.

# For BUFR2IODA json and python scripts
export JSON_TMPL_DIR=${HOMEgfs}/sorc/gdas.cd/parm/ioda/bufr2ioda
export BUFR2IODA_PY_DIR=${HOMEgfs}/sorc/gdas.cd/ush/ioda/bufr2ioda
export KEEPDATA='YES'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

if this is for debugging, then it should be removed from the PR.

@aerorahul
Copy link
Copy Markdown
Contributor

@ShastriPaturi
Can you please address the comments and update your branch with develop.

@aerorahul
Copy link
Copy Markdown
Contributor

@guillaumevernieres
Will someone pick up the work in this PR and address the review?

@guillaumevernieres
Copy link
Copy Markdown
Contributor

@guillaumevernieres Will someone pick up the work in this PR and address the review?

Yes @aerorahul . Sorry for the delay, @AndrewEichmann-NOAA will take over.

@AndrewEichmann-NOAA
Copy link
Copy Markdown
Contributor

@aerorahul @guillaumevernieres On it

@AndrewEichmann-NOAA
Copy link
Copy Markdown
Contributor

@WalterKolczynski-NOAA Is there a way to have the PR point to a different fork/branch? I maneuvered this branch into my repository.

@aerorahul
Copy link
Copy Markdown
Contributor

@WalterKolczynski-NOAA Is there a way to have the PR point to a different fork/branch? I maneuvered this branch into my repository.

@AndrewEichmann-NOAA
I don't think we can change the originating branch once the PR is opened. We will have to close this and open a new PR from the new origin (your fork).
If it is ok with you, feel free to close this PR and leave a comment that this work will be in the PR you open or let us know and we can link the two.

@AndrewEichmann-NOAA
Copy link
Copy Markdown
Contributor

@WalterKolczynski-NOAA @aerorahul @guillaumevernieres This PR has been replaced by #2459 and should be closed

@guillaumevernieres
Copy link
Copy Markdown
Contributor

Closing this since it was reopened as a different PR (#2459) by @AndrewEichmann-NOAA

aerorahul pushed a commit that referenced this pull request Apr 12, 2024
This PR fixes path for exglobal_prep_ocean_obs.py in
jobs/JGLOBAL_PREP_OCEAN_OBS and associated config file

Fixes #2353, replaces
PR #2356
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.

Fix path for exglobal_prep_ocean_obs.py in JJOB

5 participants