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
......@@ -3,7 +3,7 @@ import numpy as np
from dateutil import relativedelta
import datetime
import pandas as pd
from ....utils import path
from .....utils import path
def fetch(ref_dir, ref_file, date_interval, target_dir, tracer=None, **kwargs):
......
......@@ -4,7 +4,7 @@ import os
import xarray as xr
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):
......
......@@ -5,7 +5,7 @@ import numpy as np
import xarray as xr
from netCDF4 import Dataset
from ....utils.netcdf import readnc
from .....utils.netcdf import readnc
def read(
......
......@@ -5,7 +5,7 @@ import pandas as pd
from netCDF4 import Dataset
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):
......
......@@ -3,8 +3,8 @@ import glob
import datetime
import os
import xarray as xr
from ....utils.classes.setup import Setup
from ....utils.netcdf import readnc
from .....utils.classes.setup import Setup
from .....utils.netcdf import readnc
def get_domain(ref_dir, ref_file, input_dates, target_dir, tracer=None):
......
......@@ -4,8 +4,8 @@ import numpy as np
import pandas as pd
import xarray
from ....utils.classes.fluxes import Fluxes
from ....utils.netcdf import save_nc
from .....utils.classes.fluxes import Flux
from .....utils.netcdf import save_nc
def write(self, name, ic_file, ic_data, mode="a"):
......
......@@ -2,7 +2,7 @@ import os
import datetime
import pandas as pd
import xarray as xr
from ....utils import path
from .....utils import path
def fetch(ref_dir, ref_file, date_interval, target_dir, tracer=None, **kwargs):
......
......@@ -3,8 +3,8 @@ import glob
import datetime
import os
import xarray as xr
from ....utils.classes.setup import Setup
from ....utils.netcdf import readnc
from .....utils.classes.setup import Setup
from .....utils.netcdf import readnc
import copy
......
......@@ -2,7 +2,7 @@ import xarray as xr
import numpy as np
from netCDF4 import Dataset
import pandas as pd
from ....utils.netcdf import readnc
from .....utils.netcdf import readnc
import datetime
from logging import debug
......
import os
import numpy as np
from ....utils import path
from .....utils import path
from .utils import find_valid_file
......
......@@ -3,8 +3,8 @@ import glob
import datetime
import os
import xarray as xr
from ....utils.classes.setup import Setup
from ....utils.netcdf import readnc
from .....utils.classes.setup import Setup
from .....utils.netcdf import readnc
import copy
def get_domain(ref_dir, ref_file, input_dates, target_dir, tracer=None):
......
......@@ -3,7 +3,7 @@ import numpy as np
from netCDF4 import Dataset
import datetime
from logging import debug
from ....utils.netcdf import readnc
from .....utils.netcdf import readnc
def read(
......
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