Ryan May
Ryan May
I think the right answer is to get comparable examples at one of these two spots: http://scitools.org.uk/cartopy/docs/v0.15/gallery.html https://unidata.github.io/python-gallery
+1 -- would simplify my life now
IMO, a much simpler start would be to remove this line: https://github.com/fatiando/pooch/blob/07336ef0f5e6d774c0b1cd33ef1c49e1f924a20d/pooch/utils.py#L24 By default, the logging module is setup with a [`lastResort`](https://docs.python.org/3.10/library/logging.html#logging.lastResort) handler that, in the absence of any other...
The triple quoted string works with the exception that when traits are inherited from parent classes, the subclass documentation shows the original trait documentation.
I haven't had any time to start on this (and I'm a few more weeks out), so feel free to take a cut. I'm not sure what @shoyer or @rabernat...
A float32 values has 24 bits of precision in the significand, which is more than enough to store the 16-bits in in the original data; the exponent (8 bits) will...
@shoyer But since it's a downstream calculation issue, and does not impact the actual precision of what's being read from the file, what's wrong with saying "Use `data.astype(np.float64)`". It's completely...
I'm not following why the data are scaled twice. Your point about the rounding being different is well-taken, though.
Ah, ok, not scaling per-se (i.e. `* 0.01`), but a second round of value conversion.
I'm not sure how to do the GRIB-handling part with `cfgrib`/`eccodes`, but `pygrib` can handle giving you the appropriate `pyproj` parameters already, and `pyproj` already handles mapping to CF: ```python...