Source code for pycif.plugins.datastreams.fluxes.iconart.write
import os
from netCDF4 import Dataset
import numpy as np
import pandas as pd
import xarray
from .....utils.classes.fluxes import Flux
[docs]
def write(self, name, flx_file, flx, mode="a", **kwargs):
"""No-op stub; writing ICON-ART fluxes is not implemented.
Args:
self (Fluxes): the Fluxes plugin
name (str): name of the flux variable
flx_file (str): the file where fluxes would be written
flx (xarray.DataArray): fluxes data that would be written
mode (str): 'w' to overwrite, 'a' to append
"""
pass