Skip to content

Formatting netCDF files correctly for MET to correctly get forecast hour lead information #1400

Locked Answered by JohnHalleyGotway
malloryprow asked this question in File I/O
Discussion options

You must be logged in to vote

@malloryprow and @CPKalb, yes, Grid-Stat does name its output files based on the timing information of the forecast data:

On this line of grid_stat.cc, the first forecast data plane object read is passed as an argument to setup_first_pass(). And this line of setup_first_pass() sends the valid and lead time of that forecast data to setup_txt_files(), which uses it to create the output file names. So all of that logic is working the way we expect.

What is NOT working the way we expect is MET's parsing the timing information from that forecast field. This can be demonstrated by running plot_data_plane at verbosity level 4:

plot_data_plane grid_stat_fcstgfs_obsgfs_anl_climoERAI_GeoHeightAnom_…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@malloryprow
Comment options

malloryprow Feb 3, 2022
Collaborator Author

Comment options

You must be logged in to vote
3 replies
@malloryprow
Comment options

malloryprow Feb 4, 2022
Collaborator Author

@JohnHalleyGotway
Comment options

@JohnHalleyGotway
Comment options

Answer selected by JohnHalleyGotway
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment