Closed GoogleCodeExporter closed 8 years ago
You could use the nc3tonc4 utility to copy the entire dataset to a local file
like this
nc3tonc4 <opendap URL> <local filename>
Original comment by josh.n.w...@gmail.com
on 23 Dec 2012 at 7:45
Dataset is huge as a whole, it's gfs product - it covers whole world and has
many many variables
Thanks for the tip anyway, I just wanted to make sure there isn't easier way
Original comment by klo...@gmail.com
on 23 Dec 2012 at 8:08
I just updated nc3tonc4 in svn to take an extra command line arg 'vars', which
is a comma separated list of variable names to copy. If you use that, it will
copy just those variables, plus all the dimension variables. With a little
more work, I could add subsetting by dimension variables (lat/lon) if it's
needed.
Original comment by josh.n.w...@gmail.com
on 24 Dec 2012 at 2:30
Great, thanks for initiating this.
I tried to make slicing, and here is what I made:
https://gist.github.com/b97e95f9529293dc8b35
Works for me :)
PS. I also took a liberty to do PEP8 corrections
Original comment by klo...@gmail.com
on 24 Dec 2012 at 10:47
Original comment by whitaker.jeffrey@gmail.com
on 26 Feb 2014 at 2:04
Original issue reported on code.google.com by
klo...@gmail.com
on 23 Dec 2012 at 4:32