In [8]:
import netCDF4

In [9]:
# if files are not aggregated, can use this approach
# root = 'http://home.irb.hr:40088/thredds/dodsC/ROMS_2km/roms_his_arch_201403%2.2d.nc' 
# files = [root % d for d in range(1, 31)]
# nc = netCDF4.MFDataset(files)

In [ ]:
# Ivica's aggregation
url='http://home.irb.hr:40088/thredds/dodsC/ROMS_2km/agg.ncml'
nc = netCDF4.Dataset(url);

In [ ]:
print nc.variables['ubar']

In [ ]:
880  export CONDA_NPY=18
  881  export CONDA_PY=27
  882  cd ..