In [124]:
import warnings
warnings.filterwarnings('ignore')

import numpy
import matplotlib.pyplot as plt
import glob

import pandas as pd
#from bokeh.charts import TimeSeries, show, output_file

import iris
from iris.experimental.equalise_cubes import equalise_attributes

####

import os, sys

cwd = os.getcwd()
repo_dir = '/'
for directory in cwd.split('/')[1:]:
    repo_dir = os.path.join(repo_dir, directory)
    if directory == 'ocean-analysis':
        break

modules_dir = os.path.join(repo_dir, 'modules')
sys.path.append(modules_dir)

processing_dir = os.path.join(repo_dir, 'data_processing')
sys.path.append(processing_dir)

import timeseries
import remove_drift

Read data


In [125]:
# Configuration
model = 'NorESM1-M'
experiment = 'historical'
rip = 'r1i1p1'
ua6_dir = '/g/data/ua6/DRSv3/CMIP5'  # /g/data/r87/dbi599
r87_dir = '/g/data/r87/dbi599/DRSv2/CMIP5'

depth_index = 0
i_index = 34
j_index = 50

#lev_constraint = iris.Constraint(lev=depth)
#lat_constraint = iris.Constraint(lat=latitude)
#lon_constraint = iris.Constraint(lon=longitude)

In [126]:
control_files = glob.glob('%s/%s/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_%s_piControl_r1i1p1_*.nc' %(ua6_dir, model, model) )
experiment_files = glob.glob('%s/%s/%s/mon/ocean/%s/thetao/latest/thetao_Omon_%s_%s_%s_*.nc' %(ua6_dir, model, experiment, rip, model, experiment, rip) )
dedrifted_files = glob.glob('%s/%s/%s/yr/ocean/%s/thetao/latest/dedrifted/thetao_Oyr_%s_%s_%s_??????-??????.nc' %(r87_dir, model, experiment, rip, model, experiment, rip) )
coefficient_file = '%s/%s/piControl/yr/ocean/r1i1p1/thetao/latest/thetao-coefficients_Oyr_%s_piControl_r1i1p1_all.nc' %(r87_dir, model, model)

control_files.sort()
experiment_files.sort()
dedrifted_files.sort()

In [127]:
def read_files(file_list, depth_index, i_index, j_index):
    """Read a list of files into an iris Cube"""
    
    cube = iris.load(file_list, 'sea_water_potential_temperature')
    iris.util.unify_time_units(cube)
    equalise_attributes(cube)
    cube = cube.concatenate_cube()[:, depth_index, i_index, j_index]
    
    return cube

In [128]:
control_cube = read_files(control_files, depth_index, i_index, j_index)
control_cube = timeseries.convert_to_annual(control_cube)

In [129]:
experiment_cube = read_files(experiment_files, depth_index, i_index, j_index)
experiment_cube = timeseries.convert_to_annual(experiment_cube)

In [130]:
dedrifted_cube = read_files(dedrifted_files, depth_index, i_index, j_index)

In [131]:
a_cube = iris.load_cube(coefficient_file, 'coefficient a')[depth_index, i_index, j_index]
b_cube = iris.load_cube(coefficient_file, 'coefficient b')[depth_index, i_index, j_index]
c_cube = iris.load_cube(coefficient_file, 'coefficient c')[depth_index, i_index, j_index]
d_cube = iris.load_cube(coefficient_file, 'coefficient d')[depth_index, i_index, j_index]

In [132]:
numpy_poly = numpy.poly1d([float(d_cube.data), 
                           float(c_cube.data),
                           float(b_cube.data),
                           float(a_cube.data)])
cubic_fit = numpy_poly(control_cube.coord('time').points)

In [133]:
first_data_cube = iris.load_cube(experiment_files[0], 'sea_water_potential_temperature')[:, depth_index, i_index, j_index]
first_data_cube = timeseries.convert_to_annual(first_data_cube)
time_diff, branch_time, new_time_unit = remove_drift.time_adjustment(first_data_cube, a_cube, 'annual')

In [134]:
time_coord = experiment_cube.coord('time')
time_coord.convert_units(new_time_unit)
experiment_time_values = time_coord.points.astype(numpy.float32) - time_diff

Plot


In [135]:
%matplotlib inline

In [136]:
#control_times = control_cube.coord('time').points
#df = pd.DataFrame(control_cube.data, index=control_times, columns=['control'])

In [142]:
fig = plt.figure(figsize=[14, 7])
plt.plot(control_cube.coord('time').points, control_cube.data, label='control')
plt.plot(experiment_time_values, experiment_cube.data, label='experiment')
plt.plot(experiment_time_values, dedrifted_cube.data, label='dedrifted')
plt.plot(control_cube.coord('time').points, cubic_fit, label='cubic fit')
plt.ylabel('temperature')
plt.xlabel(str(new_time_unit))

plt.legend()
plt.show()



In [143]:
coefficient_file


Out[143]:
'/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/piControl/yr/ocean/r1i1p1/thetao/latest/thetao-coefficients_Oyr_NorESM1-M_piControl_r1i1p1_all.nc'

In [144]:
control_files


Out[144]:
['/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_070001-070312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_070401-070712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_070801-071112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_071201-071512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_071601-071912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_072001-072312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_072401-072712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_072801-073112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_073201-073512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_073601-073912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_074001-074312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_074401-074712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_074801-075112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_075201-075512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_075601-075912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_076001-076312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_076401-076712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_076801-077112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_077201-077512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_077601-077912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_078001-078312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_078401-078712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_078801-079112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_079201-079512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_079601-079912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_080001-080312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_080401-080712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_080801-081112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_081201-081512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_081601-081912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_082001-082312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_082401-082712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_082801-083112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_083201-083512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_083601-083912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_084001-084312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_084401-084712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_084801-085112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_085201-085512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_085601-085912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_086001-086312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_086401-086712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_086801-087112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_087201-087512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_087601-087912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_088001-088312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_088401-088712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_088801-089112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_089201-089512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_089601-089912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_090001-090312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_090401-090712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_090801-091112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_091201-091512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_091601-091912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_092001-092312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_092401-092712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_092801-093112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_093201-093512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_093601-093912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_094001-094312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_094401-094712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_094801-095112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_095201-095512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_095601-095912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_096001-096312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_096401-096712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_096801-097112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_097201-097512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_097601-097912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_098001-098312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_098401-098712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_098801-099112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_099201-099512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_099601-099912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_100001-100312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_100401-100712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_100801-101112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_101201-101512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_101601-101912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_102001-102312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_102401-102712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_102801-103112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_103201-103512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_103601-103912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_104001-104312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_104401-104712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_104801-105112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_105201-105512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_105601-105912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_106001-106312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_106401-106712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_106801-107112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_107201-107512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_107601-107912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_108001-108312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_108401-108712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_108801-109112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_109201-109512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_109601-109912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_110001-110312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_110401-110712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_110801-111112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_111201-111512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_111601-111912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_112001-112312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_112401-112712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_112801-113112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_113201-113512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_113601-113912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_114001-114312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_114401-114712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_114801-115012.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_115101-115412.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_115501-115812.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_115901-116212.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_116301-116612.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_116701-117012.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_117101-117412.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_117501-117812.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_117901-118212.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_118301-118612.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_118701-119012.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_119101-119412.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_119501-119812.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/piControl/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_piControl_r1i1p1_119901-120012.nc']

In [145]:
experiment_files


Out[145]:
['/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_185001-185312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_185401-185712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_185801-186112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_186201-186512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_186601-186912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_187001-187312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_187401-187712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_187801-188112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_188201-188512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_188601-188912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_189001-189312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_189401-189712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_189801-190112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_190201-190512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_190601-190912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_191001-191312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_191401-191712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_191801-192112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_192201-192512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_192601-192912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_193001-193312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_193401-193712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_193801-194112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_194201-194512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_194601-194912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_195001-195312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_195401-195712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_195801-196112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_196201-196512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_196601-196912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_197001-197312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_197401-197712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_197801-198112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_198201-198512.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_198601-198912.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_199001-199312.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_199401-199712.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_199801-200112.nc',
 '/g/data/ua6/DRSv3/CMIP5/NorESM1-M/historical/mon/ocean/r1i1p1/thetao/latest/thetao_Omon_NorESM1-M_historical_r1i1p1_200201-200512.nc']

In [146]:
dedrifted_files


Out[146]:
['/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_185001-185312.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_185401-185712.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_185801-186112.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_186201-186512.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_186601-186912.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_187001-187312.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_187401-187712.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_187801-188112.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_188201-188512.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_188601-188912.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_189001-189312.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_189401-189712.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_189801-190112.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_190201-190512.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_190601-190912.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_191001-191312.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_191401-191712.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_191801-192112.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_192201-192512.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_192601-192912.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_193001-193312.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_193401-193712.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_193801-194112.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_194201-194512.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_194601-194912.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_195001-195312.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_195401-195712.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_195801-196112.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_196201-196512.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_196601-196912.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_197001-197312.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_197401-197712.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_197801-198112.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_198201-198512.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_198601-198912.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_199001-199312.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_199401-199712.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_199801-200112.nc',
 '/g/data/r87/dbi599/DRSv2/CMIP5/NorESM1-M/historical/yr/ocean/r1i1p1/thetao/latest/dedrifted/thetao_Oyr_NorESM1-M_historical_r1i1p1_200201-200512.nc']

In [ ]: