Commit c7486ef1 authored by Antoine Berchet's avatar Antoine Berchet
Browse files

Grouping flux/meteo/field into datatream; cleaning plurals in class names;...

Grouping flux/meteo/field into datatream; cleaning plurals in class names; adding an optional sub-type to plugins to render tree directories
parent e442f8e8
...@@ -297,6 +297,7 @@ tests_chimere: ...@@ -297,6 +297,7 @@ tests_chimere:
# Run the tests for flexpart (include downloading data) # Run the tests for flexpart (include downloading data)
tests_flexpart: tests_flexpart:
stage: test stage: test
retry: 2
image: image:
name: pycif/pycif-ubuntu:0.1 name: pycif/pycif-ubuntu:0.1
entrypoint: [""] entrypoint: [""]
......
...@@ -253,7 +253,7 @@ _name = "standard" ...@@ -253,7 +253,7 @@ _name = "standard"
requirements = { requirements = {
"domain": {"any": True, "empty": False}, "domain": {"any": True, "empty": False},
"model": {"any": True, "empty": False}, "model": {"any": True, "empty": False},
# "components": {"any": True, "empty": True, "type": "fields"}, # "components": {"any": True, "empty": True, "type": "field"},
# "obsvect": { # "obsvect": {
# "any": True, # "any": True,
# "empty": True, # "empty": True,
......
...@@ -3,7 +3,7 @@ import os ...@@ -3,7 +3,7 @@ import os
import numpy as np import numpy as np
import pandas as pd import pandas as pd
import datetime import datetime
from ....utils import path from .....utils import path
def fetch( def fetch(
......
...@@ -18,7 +18,7 @@ Returns: ...@@ -18,7 +18,7 @@ Returns:
import numpy as np import numpy as np
from ....utils.classes.setup import Setup from .....utils.classes.setup import Setup
def get_domain(ref_dir, ref_file, input_dates, target_dir, tracer=None): def get_domain(ref_dir, ref_file, input_dates, target_dir, tracer=None):
......
...@@ -24,7 +24,7 @@ import numpy as np ...@@ -24,7 +24,7 @@ import numpy as np
import xarray as xr import xarray as xr
from netCDF4 import Dataset from netCDF4 import Dataset
from ....utils.netcdf import readnc from .....utils.netcdf import readnc
def read( def read(
......
...@@ -3,7 +3,7 @@ import os ...@@ -3,7 +3,7 @@ import os
import numpy as np import numpy as np
import pandas as pd import pandas as pd
import datetime import datetime
from ....utils import path from .....utils import path
def fetch( def fetch(
......
...@@ -6,7 +6,7 @@ import xarray as xr ...@@ -6,7 +6,7 @@ import xarray as xr
from netCDF4 import Dataset from netCDF4 import Dataset
from logging import debug from logging import debug
from ....utils.netcdf import readnc from .....utils.netcdf import readnc
def read( def read(
......
...@@ -5,7 +5,7 @@ import pandas as pd ...@@ -5,7 +5,7 @@ import pandas as pd
from netCDF4 import Dataset from netCDF4 import Dataset
import xarray as xr import xarray as xr
from ....utils.netcdf import save_nc from .....utils.netcdf import save_nc
def write(self, name, lbc_file, data, mode="a", comp_type=None): def write(self, name, lbc_file, data, mode="a", comp_type=None):
......
...@@ -3,7 +3,7 @@ import numpy as np ...@@ -3,7 +3,7 @@ import numpy as np
import datetime import datetime
import pandas as pd import pandas as pd
from ....utils import path from .....utils import path
from .utils import find_valid_file from .utils import find_valid_file
......
import numpy as np import numpy as np
from ....utils.classes.setup import Setup from .....utils.classes.setup import Setup
from .utils import grib_file_reader, find_valid_file from .utils import grib_file_reader, find_valid_file
import copy import copy
......
...@@ -4,7 +4,7 @@ import numpy as np ...@@ -4,7 +4,7 @@ import numpy as np
import pandas as pd import pandas as pd
import datetime import datetime
from netCDF4 import Dataset from netCDF4 import Dataset
from ....utils import path from .....utils import path
def fetch( def fetch(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment