-
Hi, I'm trying to process NetCDF input files through grid_stat. The NetCDF file is CF compliant ( Conventions = "CF-1.0" ; is included in global attributes) and the file includes a "time" variable that describes the forecast valid time as well as a forecast reference time variable to describe the forecast initial time. I've played around with the units and naming of the time variables, but I can't seem to get grid_stat or plot_data_plane to properly read in the valid time, init time and lead time. Part of the header is shown below, including time information: netcdf test { The valid time should be 20190903 for a 24 hour forecast with initial time of 20190902. Forecast_reference_time value = 0 and time variable is 86400. The output from plot_data_plane is: [rubin@heck bin]$ plot_data_plane test.nc test.ps 'name="aot_tot";level="(0,,)"; file_type=NETCDF_NCCF;' -v 4 Is there a different way I should be specifying the time information? Thanks for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
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
Note how the variable Is the |
Beta Was this translation helpful? Give feedback.
-
Hi @jir245, I'd like to reach out about this again, as there has been more information brought to my attention on this. After our last major MET release (10.1.0), a bug very similar to yours was found and fixed in the MET 10.1.1. Here's a link to the Github issue describing it. There's a very good chance that the error you encountered is fixed in the latest version, but I want to confirm this. Would you be able to send a copy of the non-working file to us for testing? It would help ensure this has been accounted for in the METplus suite. |
Beta Was this translation helpful? Give feedback.
-
test.nc
<https://drive.google.com/file/d/1haQufmXwWZDT3oyUebuI-qavdtkVgknp/view?usp=drive_web>
Hi,
Thanks for letting me know about this. I still have an older version of
Met (10.0.1) so I should probably update to a newer version.
There is a google drive link for the test.nc file that I used with the
original int64 in it. Hope this is helpful for you guys. Thanks for all
of your help,
Juli
…On Tue, May 10, 2022 at 1:20 PM j-opatz ***@***.***> wrote:
Hi @jir245 <https://github.com/jir245>,
I'd like to reach out about this again, as there has been more information
brought to my attention on this.
After our last major MET release (10.1.0), a bug very similar to yours was
found and fixed in the MET 10.1.1. Here's a link to the Github issue
<dtcenter/MET#2123> describing it. There's a
very good chance that the error you encountered is fixed in the latest
version, but I want to confirm this.
Would you be able to send a copy of the *non-working* file to us for
testing? It would help ensure this has been accounted for in the METplus
suite.
—
Reply to this email directly, view it on GitHub
<#1602 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYBBMFMOEL3EY2OFWEHFWWTVJLAJTANCNFSM5VF4F33A>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
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: