geodat.nc.time_array_to_dim

geodat.nc.time_array_to_dim(time_array, calendar, units, **kwargs)[source]

Return a geodat.nc.Dimension object given a time array time_array = [ [ year, month, day, hour, minute, second ],...] calendar = string (“standard”,”julian”,...) units = string (e.g. “days since 0001-01-01”)

Fork me on GitHub