Skip to content

Issues reading NetCDF time information #1602

Locked Answered by j-opatz
jir245 asked this question in File I/O
Discussion options

You must be logged in to vote

Hello,

And thank you for your question. As you may have seen in the MET user's guide, MET tools will use the time variable for the valid time, and the forecast_reference_time as the init time. As you have indicated, these variables are present in your netCDF CF-compliant file, so it was a bit puzzling to see that your valid and init times were being listed as the same by plot-data-plane.
After speaking with one of our lead MET engineers, it sounds like there may be an issue with the aot_tot variable. Specifically, it needs to include the time dimension. Taking a look at a CF-convention example from the CF-conventions website:

variables:
float xwind(time,pres,lat,lon) ;
xwind:long_name = …

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@jir245
Comment options

@j-opatz
Comment options

j-opatz May 10, 2022
Collaborator

@jir245
Comment options

@j-opatz
Comment options

j-opatz May 10, 2022
Collaborator

Answer selected by j-opatz
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@j-opatz
Comment options

j-opatz May 12, 2022
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: code cleanup Code cleanup and maintenance issue
2 participants