Julianna,
nctoolbox has no problem downloading 4D arrays, but...
In this command:
(1) UData = double(squeeze(nco{'ugrdprs'}(1,:,:,:)));
you are asking for all the vertical levels from a global 1/4 degree
model at every grid point. That downloads 128MB of data via OpenDAP.
Is that what you intended?
(2) (2) UData = double(squeeze(nco{'ugrdprs'}(:,:,:,:)));
now you are asking for all the data from a global model at every level
and ever grid point for all time (121 steps in this case). That is
15GB of data. It's too much for a single request from most OPeNDAP
servers.
The usual workflow is to just download the levels you need in the
region you need them and loop through time, processing them as you go.
-Rich
---
Rich Signell
81 Queen St
Falmouth, MA 02540
> --
> You received this message because you are subscribed to the Google Groups
> "nctoolbox" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
nctoolbox+...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.