Skip to content

NetCDF File Issue with MODE #2333

Locked Answered by CPKalb
balbrightwpc asked this question in File I/O
Aug 31, 2023 · 2 comments · 13 replies
Discussion options

You must be logged in to vote

Hi Ben:

The problem is with your forecast file. It's not in a format that MET can read, although it's close to MET's netCDF format. There are a couple of issues to fix. The first is the global attribute file_type = "NETCDF_NCCF" ;. NETCDF_NCCF specifically refers to CF compliant netCDF files. Since yours is not in this format, it would be good to remove this attribute. Second, the dimensions are inconsistent between the global attributes and the variables. The global attributes list nx = 1799 and nx = 1059. However, at the top of the file, the dimensions say x = 1059 and y = 1799. Additionally, a MET NETCDF file typically uses lat and lon as the dimensions rather than x and y. I ran a qui…

Replies: 2 comments 13 replies

Comment options

You must be logged in to vote
9 replies
@balbrightwpc
Comment options

@CPKalb
Comment options

CPKalb Sep 5, 2023
Collaborator

@jprestop
Comment options

@jprestop
Comment options

@balbrightwpc
Comment options

Comment options

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

@CPKalb
Comment options

CPKalb Sep 6, 2023
Collaborator

@balbrightwpc
Comment options

@CPKalb
Comment options

CPKalb Sep 7, 2023
Collaborator

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