Follow-up modifications for GFS post process#2467
Conversation
aerorahul
left a comment
There was a problem hiding this comment.
The changes here looks good.
The archive script should also be updated to ensure that these updated files are in the list of files that should be archived.
For reference, the archive script used is:
https://github.com/NOAA-EMC/global-workflow/blob/develop/ush/hpssarch_gen.sh
@aerorahul Good catching. Updated hpssarch_gen.sh. |
A few more instances where |
|
KateFriedman-NOAA
left a comment
There was a problem hiding this comment.
Changes look good.
aerorahul
left a comment
There was a problem hiding this comment.
Need some more updates for jobs to be triggered off the new names.
Also, analysis UPP needs to create the updated filename.
|
|
||
| # Files needed by ${INTERP_ATMOS_MASTERSH} | ||
| MASTER_FILE="${COM_ATMOS_MASTER}/${PREFIX}master.grb2${fhr3}" | ||
| MASTER_FILE="${COM_ATMOS_MASTER}/${PREFIX}master${fhr3}.grb2" |
There was a problem hiding this comment.
@WenMeng-NOAA
The workflow looks for the master file to kick off the products generation job.
Please update this line to:
- 'history_file_tmpl': f'{self.cdump}.t@Hz.master.grb2#dep#'},
+ 'history_file_tmpl': f'{self.cdump}.t@Hz.master#dep#.grb2'},The analysis products job trigger also needs to be updated. Please update this line to:
- data = f'{atm_master_path}/{self.cdump}.t@Hz.master.grb2anl'
+ data = f'{atm_master_path}/{self.cdump}.t@Hz.masteranl.grb2'Finally, the offline UPP for analysis needs to write out the updated filename to COM. Please update these lines with:
- - ["{{ DATA }}/GFSPRS.GrbF00", "{{ COM_ATMOS_MASTER }}/{{ RUN }}.t{{ current_cycle | strftime('%H') }}z.master.grb2anl"]
- - ["{{ DATA }}/GFSPRS.GrbF00.idx", "{{ COM_ATMOS_MASTER }}/{{ RUN }}.t{{ current_cycle | strftime('%H') }}z.master.grb2ianl"]
+ - ["{{ DATA }}/GFSPRS.GrbF00", "{{ COM_ATMOS_MASTER }}/{{ RUN }}.t{{ current_cycle | strftime('%H') }}z.masteranl.grb2"]
+ - ["{{ DATA }}/GFSPRS.GrbF00.idx", "{{ COM_ATMOS_MASTER }}/{{ RUN }}.t{{ current_cycle | strftime('%H') }}z.masteranl.grb2.idx"]There was a problem hiding this comment.
Note more updates will be needed in the hpssarch_gen.sh for these changes in analysis filenames.
There was a problem hiding this comment.
I will work on that.
There was a problem hiding this comment.
@WenMeng-NOAA
I just looked at the EE2 implementation standards and the correct extension for grib2 files is grib2. We should replace grb2 with grib2.
There was a problem hiding this comment.
@aerorahul Just confirm with you that updates will be in all master/flux/goes/pgrb2/pgrb2b.
|
@WenMeng-NOAA |
aerorahul
left a comment
There was a problem hiding this comment.
some in hpssarch_gen.sh were left to be updated.
| ${NLN} "${COM_ATMOS_MASTER}/${RUN}.t${cyc}z.masterf${FH3}.grb2" "GFSPRS.GrbF${FH2}" | ||
| ${NLN} "${COM_ATMOS_MASTER}/${RUN}.t${cyc}z.sfluxf${FH3}.grb2" "GFSFLX.GrbF${FH2}" |
There was a problem hiding this comment.
| ${NLN} "${COM_ATMOS_MASTER}/${RUN}.t${cyc}z.masterf${FH3}.grb2" "GFSPRS.GrbF${FH2}" | |
| ${NLN} "${COM_ATMOS_MASTER}/${RUN}.t${cyc}z.sfluxf${FH3}.grb2" "GFSFLX.GrbF${FH2}" | |
| ${NLN} "${COM_ATMOS_MASTER}/${RUN}.t${cyc}z.masterf${FH3}.grib2" "GFSPRS.GrbF${FH2}" | |
| ${NLN} "${COM_ATMOS_MASTER}/${RUN}.t${cyc}z.sfluxf${FH3}.grib2" "GFSFLX.GrbF${FH2}" |
| echo "${COM_ATMOS_MASTER/${ROTDIR}\//}/${head}sfluxf${fhr}.grb2" | ||
| echo "${COM_ATMOS_MASTER/${ROTDIR}\//}/${head}sfluxf${fhr}.grb2.idx" |
There was a problem hiding this comment.
| echo "${COM_ATMOS_MASTER/${ROTDIR}\//}/${head}sfluxf${fhr}.grb2" | |
| echo "${COM_ATMOS_MASTER/${ROTDIR}\//}/${head}sfluxf${fhr}.grb2.idx" | |
| echo "${COM_ATMOS_MASTER/${ROTDIR}\//}/${head}sfluxf${fhr}.grib2" | |
| echo "${COM_ATMOS_MASTER/${ROTDIR}\//}/${head}sfluxf${fhr}.grib2.idx" |
| echo "${COM_ATMOS_MASTER/${ROTDIR}\//}/${head}sfluxf${fhr}.grb2" | ||
| echo "${COM_ATMOS_MASTER/${ROTDIR}\//}/${head}sfluxf${fhr}.grb2.idx" |
There was a problem hiding this comment.
| echo "${COM_ATMOS_MASTER/${ROTDIR}\//}/${head}sfluxf${fhr}.grb2" | |
| echo "${COM_ATMOS_MASTER/${ROTDIR}\//}/${head}sfluxf${fhr}.grb2.idx" | |
| echo "${COM_ATMOS_MASTER/${ROTDIR}\//}/${head}sfluxf${fhr}.grib2" | |
| echo "${COM_ATMOS_MASTER/${ROTDIR}\//}/${head}sfluxf${fhr}.grib2.idx" |
| flist="001 002 004 005 007 008" | ||
| for fhr in ${flist}; do | ||
| file="${COM_ATMOS_MASTER/${ROTDIR}\//}/${head}sfluxgrbf${fhr}.grib2" | ||
| file="${COM_ATMOS_MASTER/${ROTDIR}\//}/${head}sfluxf${fhr}.grb2" |
There was a problem hiding this comment.
| file="${COM_ATMOS_MASTER/${ROTDIR}\//}/${head}sfluxf${fhr}.grb2" | |
| file="${COM_ATMOS_MASTER/${ROTDIR}\//}/${head}sfluxf${fhr}.grib2" |
| copy: | ||
| - ["{{ DATA }}/GFSPRS.GrbF00", "{{ COM_ATMOS_MASTER }}/{{ RUN }}.t{{ current_cycle | strftime('%H') }}z.master.grb2anl"] | ||
| - ["{{ DATA }}/GFSPRS.GrbF00.idx", "{{ COM_ATMOS_MASTER }}/{{ RUN }}.t{{ current_cycle | strftime('%H') }}z.master.grb2ianl"] | ||
| - ["{{ DATA }}/GFSPRS.GrbF00", "{{ COM_ATMOS_MASTER }}/{{ RUN }}.t{{ current_cycle | strftime('%H') }}z.masteranl.grib2"] |
There was a problem hiding this comment.
There should be a period separating the master/sflux from the anl/${fhr3} in all these just like the lat-lon files have.
|
@aerorahul @WalterKolczynski-NOAA Should all pgrb2/pgrb2b be changed as "gfs.t{CC}z.pgrb2a.?p??.f{FFF}.grib2" and gfs.t{CC}z.pgrb2b.?p??.f{FFF}.grib2"? |
The target filenames for these are |
|
We have a spreadsheet documenting the planned filename changes (still in-progress and subject to change): https://docs.google.com/spreadsheets/d/1SzXQnfoUMF0W82Q906A7h9ZLA-vq59kjDH6EGRJuXDY |
@WalterKolczynski-NOAA I can only update file naming convention only in pgrb generation, which is included in my GFS post-processing standalone test. Please let me know your preferred approach. |
|
I've scheduled a brief meeting for 15:00 today to discuss. If that doesn't work, we can pick another time. |
|
awaiting finalizing filenames confirmation. |
…EMC#2475) * UFSWM - Updates cpld_control_sfs to use the most up-to-date configuration specs * UFSWM - Update units attributes in netCDF output to be machine-readable * FV3 - Update units attributes in netCDF output to be machine-readable * atmos_cubed_sphere - Update units attributes in netCDF output to be machine-readable
Description
This PR is the follow-up modifications for gfs post process component:
Resolves GFS job JGLOBAL_ATMOS_PRODUCTS failed at finding master and flux files #2191
Type of change
Change characteristics
How has this been tested?
Yes, ran the 'JGLOBAL_ATMOS_PRODUCTS' job on WCOSS2
Checklist