diff --git a/README.md b/README.md index f656cbf4..3b6b4095 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Get in touch License ------- -Copyright 2010-2023, MeteoInfo Developers +Copyright 2010-2025, MeteoInfo Developers Licensed under the LGPL License, Version 3.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/meteoinfo-console/pom.xml b/meteoinfo-console/pom.xml index c975b97c..2fd9cac9 100644 --- a/meteoinfo-console/pom.xml +++ b/meteoinfo-console/pom.xml @@ -25,7 +25,7 @@ com.fifesoft rsyntaxtextarea - 3.4.0 + 3.5.3 com.fifesoft diff --git a/meteoinfo-lab/milconfig.xml b/meteoinfo-lab/milconfig.xml index 03d8bafe..9d29f0ca 100644 --- a/meteoinfo-lab/milconfig.xml +++ b/meteoinfo-lab/milconfig.xml @@ -20,15 +20,13 @@ - - - + + - - - + + diff --git a/meteoinfo-lab/pylib/mipylib/dataset/midata.py b/meteoinfo-lab/pylib/mipylib/dataset/midata.py index f42721f3..78f7ac87 100644 --- a/meteoinfo-lab/pylib/mipylib/dataset/midata.py +++ b/meteoinfo-lab/pylib/mipylib/dataset/midata.py @@ -967,21 +967,20 @@ def ncwrite(fn, data, varname, dims=None, attrs=None, gattrs=None, proj=None, la #Write variable data for dimvar, dim in zip(dimvars, wdims): if dim.getDimType() == DimensionType.T: - sst = datetime.datetime(1900,1,1) tt = miutil.nums2dates(np.array(dim.getDimValue())) t_list = [] if time_units == 'days': for t in tt: - t_list.append((t - sst).days) + t_list.append((t - start_time).days) elif time_units == 'hours': for t in tt: - t_list.append((t - sst).total_seconds() // 3600) + t_list.append((t - start_time).total_seconds() // 3600) elif time_units == 'minutes': for t in tt: - t_list.append((t - sst).total_seconds() // 60) + t_list.append((t - start_time).total_seconds() // 60) elif time_units == 'seconds': for t in tt: - t_list.append(((t - sst).total_seconds())) + t_list.append(((t - start_time).total_seconds())) ncfile.write(dimvar, np.array(t_list)) else: ncfile.write(dimvar, np.array(dim.getDimValue()).astype('float')) diff --git a/pom.xml b/pom.xml index 46bc5180..1f86bd5f 100644 --- a/pom.xml +++ b/pom.xml @@ -35,7 +35,7 @@ UTF-8 1.8 - 3.9.9 + 3.9.10 8 8 8