closember
Here are 44 public repositories matching this topic...
Python 3.9+ includes zoneinfo, which would presumably allow us to replace the pytz third-party dependency with time-zone machinery included in Python's standard library.
Since we need to support Python 3.7 and 3.8 for a while, we could use the corresponding back-ported package for users on old
Describe your issue.
The docstring for factorial2 says:
If
n < 0, the return value is 0.
However directly below that in the code, we can see this is not the case for n==-1
if exact:
if n < -1:
return 0
if n <= 0:
return 1
This
Now that #3490 has been merged, we should add more prometheus metrics to the notebook server!
Some ideas for metrics to add...
- Number of kernels running (labeled by type)
- Number of sessions open (not sure if this is useful?)
- Number of terminals open
- Mirror of the activity tracking metrics
- Kernel start / stop latency metric
-
Updated
Feb 2, 2022 - Python
Bug description
If passing a list to %-formatting numpy ufuncs are mishandled:
from numpy import radians, degrees # any ufunc will do
a=radians(90.0)
print ( "%6.3f"%( degrees(a),))
print ( "%6.3f"% degrees(a))
# ==> [E1307(bad-string-format-type)] Argument '.ndarray' does not match format type 'f'
# even though the ufunc returns a float-compat arg in this case
# N
-
Updated
Jan 30, 2022
-
Updated
Feb 2, 2022 - Python
Feature Request
Is your feature request related to a problem? Please describe.
Whenever I report a bug, I need to confirm what satpy version I am using. This is of course important, but it's also an extra step that could be semi-automated.
Describe the solution you'd like
I would like that debug_on() prints the relevant versions. When we report bugs, we anyway call `debu
Binder is broken
Clicking on the Binder button on the poliastro README produces a build error:
ERROR: Could not find a version that satisfies the requirement astropy<6,>=5.0 (from poliastro) (from versions: 0.1, 0.2, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.3, 0.3.1, 0.3.2, 0.4rc1, 0.4rc2, 0.4, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 1.0rc1, 1.0rc2, 1.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8
-
Updated
Feb 1, 2022 - Python
$ PYTHONPATH=$PWD sphinx-build -b man -d traitlets docs/source .
Running Sphinx v3.5.4
Initializing GitHub plugin
loading intersphinx inventory from https://docs.python.org/objects.inv...
intersphinx inventory has moved: https://docs.python.org/objects.inv -> https://docs.python.org/3/objects.inv
building [mo]: targets for 0 po files that are out of date
building [man]: all manpa-
Updated
Feb 1, 2022 - Python
-
Updated
Feb 2, 2022 - Python
Many issues we run into (e.g. freshish ReproNim/containers#62) with git-annex stem from "exotic" filesystems, often used on HPC, and which could be proprietary and cannot be setup within our CI to be tested against. When users report problems, and even share WTF information, it requires inquiring more to discover specific of the filesystem in question and possibly releva
Code Sample, a minimal, complete, and verifiable piece of code
from pyresample.boundary import Boundary
b = Boundary(my_lons, my_lats)
print(b.contour_poly.area())Problem description
The above code doesn't fail if the provided lons/lats are 2D (not sure on 3D+), but the class and all functions/utilities underneath it assume 1D arrays. The end results are incor
-
Updated
Dec 22, 2021 - Python
🎯 Todo
For the parsers in io.hitran, only groups 1-2 and classes 1, 4-6 are implemented.
Notably, group 6 and class 3 are missing which are needed for linear diatomic molecules.
But this is surprising to me as I never had issues with this... am I missing something?
How they should be parsed can be found in the HITRAN2004 paper:
https://hitran.org/media/refs/HITRAN-2004.pdf
tables 3 & 4
The IS2_DEM_comparison_WIP.ipynb notebook is still in the repo, but is not shown on the docs page because it is too outdated. icepyx now has some of the functionalities (e.g. data read in) that previously relied on other 2019 hackweek libraries, and the DEM used in the comparison cannot be shared publicly (though it is freely available to download). We need to migrate this example to a more easily
Notebook proposal
Title: Reinforcement Learning Model for behavioral data
Why should this notebook be added to pymc-examples?
I wrote this notebook some time ago: https://github.com/ricardoV94/stats/blob/master/modelling/RL_PyMC.ipynb and shared it on the Discourse, where it seems to have been quite popular: https://discourse.pymc.io/t/fitting-a-simple-reinforcement-learning-model-to-be
Organize examples
As our examples grow they becomes a bit harder to navigate. Might be good to think about organizing them better. Maybe a (max 1 layer deep) dir structure, or just more sensible names.
Related, I really like how the Threejs examples can be searched by keyword. Maybe something for our docs? (Technically a separate issue.)
-
Updated
Feb 2, 2022 - Python
Improve this page
Add a description, image, and links to the closember topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the closember topic, visit your repo's landing page and select "manage topics."


Python 3.10 added suggestions for AttributeError and NameError in the error messages. It seems the suggestions are not stored in the exception object but calculated when Error is displayed. There is a note that that this won't work with IPython but it will be good to see if it's feasible. Opening an issue for discussion.
https://bugs.python.org/issue38530
https://docs.python.org/3/whatsnew/3.