package

avl

Python libraries for the Agriculture Virtual Laboratory

module

avl.verify

Functions for data verification

Functions
  • check_global_attrs(ds) (list of (str, str)) Return a list of issues related to global attributes</>
  • check_time_coord(ds) (list of (str, str)) Return a list of issues related to time co-ordinates</>
  • check_xy_coords(ds) (list of (str, str)) Return a list of issues related to x/y co-ordinates</>
  • get_rules() (list of callable(Dataset: list of (str, str))) Get verification rules</>
  • make_report(dataset_list_path) (str) Make dataset verification report</>
  • verify_dataset(dataset, level, open_params) (list of (str, str)) Verifies that given dataset complies to the AVL dataset conventions.</>
module

avl.dataset

Dataset manipulation and analysis functions

Functions
  • from_crs84(coord, crs_to) Convert co-ordinates from CRS:84</>
  • get_geospatial_attrs(bbox, res, crs) (dict(str: any)) Return a dictionary of geospatial attributes</>
  • get_time_coverage_attrs(time_range, time_period) (dict(str: any)) Return a dictionary of time coverage attributes</>
  • new_dataset(xy_size, xy_tile_size, xy_names, xy_dtype, xy_units, xy_res, xy_start, inverse_y, time_name, time_dtype, time_units, time_calendar, time_periods, time_res, time_start, use_cftime, drop_bounds, variables, crs, metadata) (Dataset) Create a new sample dataset. Useful for creating cubes templates with predefined coordinate variables and metadata.</>