NCSIZE get size (shape) of a NetCDF4 variable

get size (shape) of a data file variable

Contents

Inputs

file: data filepath variable: name of variable inside file

Outputs

fsize: vector of variable size per dimension. Empty if scalar variable.