return{pref,"Internal error: number of requested layers does'nt correspond parameters of vertical column for variable "+var+"("+name+")"+" (zb = "+ri->zb+
return{pref,"Internal error: number of requested layers does'nt correspond parameters of vertical column for variable "+var+"("+name+")"+" (zb = "+ri->zb+
", ze = "+ri->ze+", Nz = "+v.vert->Nz()};
}
if(ri->ye<ri->yb)return{pref,"Internal error: ye < yb for variable "+var+"("+name+")"+" ("+ri->ye+" < "+ri->yb+")"};
constsize_tnx=nc->DimSize(name,ri->xdname);
constsize_tny=nc->DimSize(name,ri->ydname);
if(ri->ye>ny-1)return{pref,"Internal error: ye > ny - 1 for variable "+var+"("+name+")"+" ("+ri->ye+" > "+ny+" - 1)"};
if(ri->ye-ri->yb+1!=v.proj->Ny())
return{pref,"Internal error: number of requested y-planes does'nt correspond parameters of projection for variable "+var+"("+name+")"+" (yb = "+ri->yb+
return{pref,"Internal error: number of requested x-planes does'nt correspond parameters of projection for variable "+var+"("+name+")"+" (xb = "+ri->xb+
", xe = "+ri->xe+", Nx = "+v.proj->Nx()};
}
if(ri->ye<ri->yb)return{pref,"Internal error: ye < yb for variable "+var+"("+name+")"+" ("+ri->ye+" < "+ri->yb+")"};
constsize_tnx=nc->DimSize(name,ri->xdname);
constsize_tny=nc->DimSize(name,ri->ydname);
if(ri->ye>ny-1)return{pref,"Internal error: ye > ny - 1 for variable "+var+"("+name+")"+" ("+ri->ye+" > "+ny+" - 1)"};
if(ri->ye-ri->yb+1!=v.proj->Ny())
return{pref,"Internal error: number of requested y-planes does'nt correspond parameters of projection for variable "+var+"("+name+")"+" (yb = "+ri->yb+
return{pref,"Internal error: number of requested x-planes does'nt correspond parameters of projection for variable "+var+"("+name+")"+" (xb = "+ri->xb+
", xe = "+ri->xe+", Nx = "+v.proj->Nx()};
}
return{};
@ -328,7 +335,7 @@ RetVal<std::shared_ptr<Data2D>> Adapter::Read2D(const MString& var, size_t it)
if(!v.Read2D)return{pref,"No read function for the variable "+var};