euro-cordex / cc-plugin-cc6

Compliance checker plugin to test compliance with CORDEX-CMIP6 archive specifications
Apache License 2.0
0 stars 0 forks source link

check monotonic increasing #15

Open larsbuntemeyer opened 3 months ago

larsbuntemeyer commented 3 months ago

for time:

monotonic_linear = np.all(ds.time.diff("time", 2).values == np.timedelta64(0, 'ns'))