|
|
@ -276,8 +276,8 @@ LayeredDataZ::Data LayeredDataZ::ReadVarRaw(const NC& f, const MString& name, si |
|
|
|
else |
|
|
|
else |
|
|
|
{ |
|
|
|
{ |
|
|
|
{ |
|
|
|
{ |
|
|
|
auto ret = nodepth ? f.Read(name, data, trans, {dname.lonname, p->xb, dname.nx - p->xb + 1}, {dname.latname, p->yb, p->ye - p->yb + 1}, {dname.timename, i, 1}) |
|
|
|
auto ret = nodepth ? f.Read(name, data, trans, {dname.lonname, p->xb, dname.nx - p->xb}, {dname.latname, p->yb, p->ye - p->yb + 1}, {dname.timename, i, 1}) |
|
|
|
: f.Read(name, data, trans, {dname.lonname, p->xb, dname.nx - p->xb + 1}, {dname.latname, p->yb, p->ye - p->yb + 1}, {dname.timename, i, 1}, |
|
|
|
: f.Read(name, data, trans, {dname.lonname, p->xb, dname.nx - p->xb}, {dname.latname, p->yb, p->ye - p->yb + 1}, {dname.timename, i, 1}, |
|
|
|
{dname.depthname, rlayer, 1}); |
|
|
|
{dname.depthname, rlayer, 1}); |
|
|
|
if(!ret) return Data(); |
|
|
|
if(!ret) return Data(); |
|
|
|
} |
|
|
|
} |
|
|
|