3.5.13.10. test_dataset_get_temp_mfs.py – Test get_temp() on MFS

"""Test :meth:`~vacumm.data.misc.dataset.OceanDataset.get_temp` on MFS"""

# Inits
ncfile = "mfs.nc"

# Imports
from vcmq import DS, data_sample

# Read data
ds = DS(data_sample(ncfile), 'nemo', logger_level='critical')
temp = ds.get_temp()
lon = temp.getLongitude()

# For unittest
result = {'assertIsNotNone':lon}