Skip to content

ERROR: Only variables of dimension <= 5 supported #13

@whannah1

Description

@whannah1

I got this error today when trying to look at an output file from E3SM-MMF that includes CRM grid data.
Some of the variables have 5 dimensions due to the extra CRM grid dimensions (see below).

> ncdump -h /global/homes/w/whannah/E3SM/scratch_pm-gpu/E3SM.PAM-DEV-02.GNUGPU.F2010-MMF-PAM.ne4pg2_ne4pg2/run/E3SM.PAM-DEV-02.GNUGPU.F2010-MMF-PAM.ne4pg2_ne4pg2.eam.h2.1997-06-19-00000.nc | grep "float"
	float CLDICE(time, lev, ncol) ;
	float CLDLIQ(time, lev, ncol) ;
	float CLOUD(time, lev, ncol) ;
	float CRM_QC(time, crm_nz, crm_ny, crm_nx, ncol) ;
	float CRM_QI(time, crm_nz, crm_ny, crm_nx, ncol) ;
	float CRM_QV(time, crm_nz, crm_ny, crm_nx, ncol) ;
	float CRM_RAD_QC(time, crm_nz, crm_ny_rad, crm_nx_rad, ncol) ;
	float CRM_RAD_QI(time, crm_nz, crm_ny_rad, crm_nx_rad, ncol) ;
	float CRM_RAD_QV(time, crm_nz, crm_ny_rad, crm_nx_rad, ncol) ;
	float CRM_RAD_T(time, crm_nz, crm_ny_rad, crm_nx_rad, ncol) ;
	float CRM_T(time, crm_nz, crm_ny, crm_nx, ncol) ;
	float CRM_U(time, crm_nz, crm_ny, crm_nx, ncol) ;
	float CRM_W(time, crm_nz, crm_ny, crm_nx, ncol) ;
	float OMEGA(time, lev, ncol) ;
	float PS(time, ncol) ;
	float PSL(time, ncol) ;
	float Q(time, lev, ncol) ;
	float QRL(time, lev, ncol) ;
	float QRS(time, lev, ncol) ;
	float T(time, lev, ncol) ;
	float U(time, lev, ncol) ;
	float V(time, lev, ncol) ;
	float Z3(time, lev, ncol) ;

I'm guessing that the error means to say that files with more than 5 dimensions are not supported, rather than variables with more than 5 dimensions, sine none of these variables have 6 dimensions.

But either way, would it be possible to just ignore the variables that are unsupported rather than failing to to plot anything?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions