geodat.nc.var2fer

geodat.nc.var2fer(var, name=None)[source]

Given a geodat.nc.Variable, return a dictionary that resemble the Ferret data variable structure to be passed to pyferret.putdata

Parameters:
  • var (geodat.nc.Variable) –
  • name (str) – optional, new variable name (default var.varname)
Returns:

to be used by pyferret.putdata

Return type:

dict

Fork me on GitHub