[Numpy-discussion] next NumPy triage meeting
The next NumPy triage meeting will be held this Wednesday, March 22nd at 5 pm UTC. This is a meeting where we synchronously triage prioritized PRs and issues. Join us via Zoom: https://numfocus-org.zoom.us/j/82096749952?pwd=MW9oUmtKQ1c3a2gydGk1RTdYUUVXZz09 . Everyone is welcome to attend and contribute to a conversation. Please notify us of issues or PRs that you’d like to have reviewed by adding a GitHub link to them in the meeting agenda: https://hackmd.io/68i_JvOYQfy9ERiHgXMPvg. -- Cheers, Inessa Inessa Pawson Contributor Experience Lead | NumPy https://numpy.org/ GitHub: inessapawson ___ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: arch...@mail-archive.com
[Numpy-discussion] Re: 1D ndarray to java double[]
byteswap() looks like a general endian solution for ndarrays: https://stackoverflow.com/questions/49578507/fast-way-to-reverse-float32-endianness-in-binary-file numpy.memmap(infile, dtype=numpy.int32).byteswap().tofile(outfile) numpy.memmap(infile, dtype=numpy.int32).byteswap(inplace=True).flush() Bill -- Phobrain.com On 2023-01-01 08:31, Jerome Kieffer wrote: > On Sun, 01 Jan 2023 05:31:55 -0800 > Bill Ross wrote: > > Thanks! > > Java is known to be big-endian ... your CPU is probably little-endian. > $ lscpu | grep -i endian > Byte Order: Little Endian > > Numpy has the tools to represent an array of double BE. > Is there a lower-level ndarray method that writes an array that could be > used this way? One example: numpy.array([1,2,3], dtype=">d").tobytes() b'?\xf0\x00\x00\x00\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00@\x08\x00\x00\x00\x00\x00\x00' numpy.array([1,2,3], dtype="https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: bross_phobr...@sonic.net___ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: arch...@mail-archive.com
[Numpy-discussion] ANN: pvlib-0.9.5 released
Dear Pythonistas and solar power enthusiasts, The maintainers are happy to announce a new release of pvlib python: software for simulating performance of photovoltaic solar energy systems. *v0.9.5 Highlights:* * The infinite_sheds model now has options to use the hay-davies transposition model and faster vectorized calculations. * New models for irradiance decomposition (boland) and relative airmass (gueymard2003). * Model extensions for multiple strings in pvlib.snow.loss_townsend and AR coating in pvlib.iam.physical. * Updated the parameters database for the ADR inverter model. * Various other bug fixes and testing updates. For the full list of what's new, see the documentation: https://pvlib-python.readthedocs.io/en/stable/whatsnew.html *Releases are available from PyPI and the conda-forge channel:* * https://pypi.org/project/pvlib/ * https://anaconda.org/conda-forge/pvlib and https://anaconda.org/conda-forge/pvlib-python NOTE: new pvlib releases are no longer uploaded to the "pvlib" conda channel. Please install from PyPI or the conda-forge channel instead. *Read the Documentation:* * https://pvlib-python.readthedocs.io/en/stable/index.html *Report issues & contribute:* * https://github.com/pvlib/pvlib-python *Community discussion & support:* * https://groups.google.com/g/pvlib-python * https://github.com/pvlib/pvlib-python/discussions *Thank you for using pvlib python!* -- Mark Mikofski, PhD (2005) *Fiat Lux* ___ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: arch...@mail-archive.com