Project

General

Profile

proj error: major axis or radius = 0 or not given

Added by Natalia L about 5 years ago

Hi,
I have a netcdf file(data.nc) with LCC projection and spherical datum. However, in the netcdf file earth_radius is not given only semi_major_axis =6370000 but inverse_flattening is equal to 0 indicating a sphere.

So, when for example I am trying to get the gridarea
cdo gridarea data.nc gridarea.nc

it gets the error proj error: major axis or radius = 0 or not given.

I use cdo version 1.9.5.

data.nc (1.78 MB) data.nc