Martijn Visser

Results 534 comments of Martijn Visser

Perhaps another package for stacked arrays to look at: https://github.com/mcabbott/LazyStack.jl.

Are you looking for this? https://github.com/Alexander-Barth/NCDatasets.jl/blob/b8751a9320902200edec9b0630b36db0ad600469/src/dataset.jl#L103-L120

Ah perhaps this needs to include `Date`? https://github.com/Alexander-Barth/NCDatasets.jl/blob/947db892d59bd6e32e089e2a6360f701d09bb81a/src/cfvariable.jl#L174-L183 Probably with a new test case in `test_timeunits.jl`.

I guess for full Date support CFTime.jl would need to support Date as well as DateTime. Though there may be a reason this is not supported, as time in NetCDF...

Indeed this is not a CF convention, only an old "proposed convention", which in practise still seems to be used (the example is new data), even though it shouldn't be....

Regarding cross-compilation, after tracing the breadcrumbs again it seems we now have an upstream issue we can refer to: https://github.com/HDFGroup/hdf5/issues/1203.

Yes indeed, I don't think it is a file permission issue. The filename didn't exist, and I could create a netcdf3-classic file in the same place with the same library.

Just noting that we still see this on netCDF 4.9.0 built against HDF5 1.12.2, ref https://github.com/Alexander-Barth/NCDatasets.jl/issues/164#issuecomment-1202094798, only when cross compiling netCDF for Windows.

Rather than directly creating an aggdim from filenames, probably a good first step would be to support creating them from variables with scalars. So if you have one timestep per...