Skip to content

Trouble reading NetCDF forecast file #1087

Locked Answered by jprestop
jwraby asked this question in File I/O
Discussion options

You must be logged in to vote

Hi @jwraby

Thanks for sending the file in a text format.  I was able to convert it to NetCDF using the command:

ncgen -o TMPanal_d03.nc TMPanal_d03.txt

MET reads a few different flavors of NetCDF files:

  • it's internal format which is output from tools like gen_vx_mask or pcp_combine
  • those following the Climate Forecast (CF) convention
  • WRF output post-processed by the WRF-interp utility

I ran the NetCDF file through plot_data_plane with this command:

plot_data_plane TMPanal_d03.nc TMPanal_d03.ps 'name="TMPvar"; level="(*,*)";' -v 4

which only told me:

DEBUG 4: Met2dDataFileFactory::new_met_2d_data_file() -> created new Met2dDataFile object of type "FileType_None".
ERROR  :
ERROR  : plot…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jprestop
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants