Exemplo n.º 1
0
def test_get_mesh_names():
    """
    Check that it can find the mesh variable names.

    """
    with chdir(files):
        nc = netCDF4.Dataset('ElevenPoints_UGRIDv0.9.nc')
    names = read_netcdf.find_mesh_names(nc)
    assert names == [u'Mesh2']
Exemplo n.º 2
0
def test_get_mesh_names():
    """
    Check that it can find the mesh variable.

    NOTE: this really should check for more than one mesh..
    """

    with chdir(files):
        nc = netCDF4.Dataset(file11)
    names = read_netcdf.find_mesh_names(nc)

    assert names == [u'Mesh2']
Exemplo n.º 3
0
def test_get_mesh_names():
    """
    Check that it can find the mesh variable.

    NOTE: this really should check for more than one mesh..
    """

    with chdir(files):
        nc = netCDF4.Dataset(file11)
    names = read_netcdf.find_mesh_names(nc)

    assert names == [u'Mesh2']