Skip to content

Getting error while reading netcdf file #2103

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

You must be logged in to vote

Hi @perthsb, I hopped on hera and took a look at the NetCDF file you're trying to read into MET:
/scratch1/NCEPDEV/stmp2/Partha.Bhattacharjee/RRFSSD_Datatest/phyf000.nc

I see the same behavior that you see when processing this through plot_data_plane. Looking at the header (below), I see that this file is not formatted following any of the NetCDF conventions that MET currently supports (CF-compliant, MET, or WRF formatting).

> ncdump -h phyf000.nc
// global attributes:
		:cen_lat = 38.5f ;
		:cen_lon = -97.5f ;
		:dtp = 60.f ;
		:dx = 3000.f ;
		:dy = 3000.f ;
		:fhzero = 1 ;
		:grid = "lambert_conformal" ;
		:grid_id = 1 ;
		:imp_physics = 8 ;
		:landsfcmdl = 3 ;
		:lat1 = 21.13812f ;
		…

Replies: 1 comment 3 replies

Comment options

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

@JohnHalleyGotway
Comment options

@perthsb
Comment options

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