aodn / python-aodntools

Repository for templates and code relating to generating standard NetCDF files for the Australia Ocean Data Network
GNU Lesser General Public License v3.0
10 stars 3 forks source link

Fix for time index type issue that works in Python 3.5.2 #155

Closed mhidas closed 2 years ago

mhidas commented 2 years ago

This fixes the same issue that was fixed in https://github.com/aodn/python-aodntools/pull/151/commits/7cdd4016626a4a7fc9a06915fc7f0b82ff046b2b, but that didn't work in the Python 3.5.2 envioronment we use in RC/prod/Jenkins/etc... (probably because of the old version of xarray we're limited to in there). This one does.

codecov[bot] commented 2 years ago

Codecov Report

Merging #155 (b9ef058) into master (8f02f5f) will increase coverage by 0.05%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #155      +/-   ##
==========================================
+ Coverage   70.46%   70.52%   +0.05%     
==========================================
  Files          12       12              
  Lines        1131     1133       +2     
  Branches      152      153       +1     
==========================================
+ Hits          797      799       +2     
  Misses        317      317              
  Partials       17       17              
Impacted Files Coverage Δ
aodntools/timeseries_products/hourly_timeseries.py 98.19% <100.00%> (+0.01%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8f02f5f...b9ef058. Read the comment docs.