wrf.is_multi_file

wrf.is_multi_file(wrfin)

Return True if the input argument is an iterable.

Parameters:wrfin (netCDF4.Dataset, Nio.NioFile, or an iterable) – WRF-ARW NetCDF data as a netCDF4.Dataset, Nio.NioFile or an iterable sequence of the aforementioned types.
Returns:True if the input is an iterable. False if the input is a single NetCDF file object.
Return type:bool