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
Thanos, Prometheus and Golang version used:
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
Dec 29, 2021 - Python
-
Updated
Dec 29, 2021 - Python
-
Updated
Nov 4, 2021
-
Updated
Dec 17, 2021 - Python
One option to check for duplicate keys in the YAML files loaded/used by Satpy would be to add a custom constructor/loader as described in this gist:
https://gist.github.com/pypt/94d747fe5180851196eb
This wouldn't help the pre-commit in this PR, but at least the pre-commit is checking syntax.
_Originally posted by @djhoese in pytroll/satpy#1935 (comment)
-
Updated
Dec 29, 2021 - Python
-
Updated
Dec 27, 2021 - 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
Dec 29, 2021 - Python
-
Updated
Dec 29, 2021 - Python
During local tests got following test failure
======================================================================
ERROR: datalad.downloaders.tests.test_s3.test_restricted_bucket_on_NDA('s3://NDAR_Central_4/submission_23075/README', 'error', 'BIDS')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.9/url
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
Currently, the Python Package Index updates are coded in a Jupyter Notebook and must be run manually. It would be great to:
- Turn this code into a standalone python script
- create a GitHub action that runs it as a cron job every few months and adds the changes to the traffic branch
I coded this up a while ago, pretty simple model but I think it's an interesting (and commonly referred to) model: https://gist.github.com/twiecki/713cf58f5fa37332d0cda48a7c798016
Probably just needs some more text and explanation.
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
Dec 29, 2021 - Smarty
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."


For regular lists:
However: