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
......@@ -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"):
......
import os
import pandas as pd
import datetime
from ....utils import path
from .....utils import path
def fetch(
......
import numpy as np
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):
......
......@@ -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):
......
from ....utils.classes.fluxes import Fluxes
from .....utils.classes.fluxes import Flux
import numpy as np
import xarray as xr
import os
......
......@@ -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):
......
from ....utils.classes.fluxes import Fluxes
from .....utils.classes.fluxes import Flux
import numpy as np
import os
import xarray as xr
......
from ....utils.classes.fluxes import Fluxes
from .....utils.classes.fluxes import Flux
import numpy as np
......
......@@ -3,7 +3,7 @@ import numpy as np
import pandas as pd
import datetime
from netCDF4 import Dataset
from ....utils import path
from .....utils import path
def fetch(ref_dir, ref_file, input_dates, target_dir, tracer=None,
......
......@@ -3,7 +3,7 @@ import glob
import datetime
import os
import xarray as xr
from ....utils.classes.setup import Setup
from .....utils.classes.setup import Setup
import copy
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(
......
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