Closed GoogleCodeExporter closed 9 years ago
Sorry, this should have been an enhancement request, not a defect. I can't
figure out how to change it.
Original comment by rsignell
on 20 Nov 2012 at 3:21
Rich, how would this work? Wouldn't you have to specify the dimension and/or
the variables you want the value of nstop to apply to?
Original comment by whitaker.jeffrey@gmail.com
on 21 Nov 2012 at 3:53
The way I was envisioning it, it would only work with unlimited dimension, and
would apply to all variables.
Original comment by rsignell
on 27 Nov 2012 at 11:00
I just came another use for this that would be super useful to have this. I
need to convert netcdf3 to netcdf4 for a bunch of monthly files that start at
0000 and end at 2400, thus there are duplicate time values when aggregated.
If I could specify --nstop=-2 (skip the last value) I could just use the
existing nc3tonc4 with no additional processing!
Does this make sense to you Jeff?
-Rich
Original comment by rsignell
on 30 Nov 2012 at 7:05
I went ahead and made this change (attached), adding a --istart and --istop
option to control which records get output. It seems to work. I'm attaching
it here because I don't know of a better way to contribute the changes (can't
send a pull request).
Original comment by rsignell
on 12 Dec 2012 at 3:24
Attachments:
I'm adding some more stuff (just added a "recdim" argument to specify a
dimension to use as the record dimension when there is no unlimited dimension),
and adding a "banlist" of variables *not* to copy.
Original comment by rsignell
on 12 Dec 2012 at 5:45
Thanks Rich - I've committed your new version.
Maybe I should switch to github...
Original comment by whitaker.jeffrey@gmail.com
on 13 Dec 2012 at 1:32
Original comment by whitaker.jeffrey@gmail.com
on 7 Mar 2013 at 11:42
Original issue reported on code.google.com by
rsignell
on 20 Nov 2012 at 3:19