Closed GoogleCodeExporter closed 9 years ago
Looks like the logic for squeezing out singleton dimensions is too aggressive.
One solution would be to not squeeze a singleton dimension in the sliced array
if the netCDF4 variable has the same singleton dimension. This would fix your
use case anyway.
Could you post a sample script that triggers the error so I can test this?
Original comment by whitaker.jeffrey@gmail.com
on 6 Sep 2013 at 2:52
Thank you for your good point to not to squeeze a singleton dimension, it
works. I've attached the simple quick & dirty python script and the test file.
Thank you very much for your support.
Original comment by richard....@gmail.com
on 9 Sep 2013 at 8:23
Attachments:
I've got a fix in svn HEAD. Can you give it a try and confirm it works for you?
Original comment by whitaker.jeffrey@gmail.com
on 9 Sep 2013 at 3:51
Original comment by whitaker.jeffrey@gmail.com
on 26 Feb 2014 at 2:04
Original issue reported on code.google.com by
richard....@gmail.com
on 6 Sep 2013 at 2:36