Taher Chegini

Results 18 issues of Taher Chegini

I have a suggestion regarding credentials for API. Since passing user and pass as plain texts is not secure, you can use a Python built-in library called [`getpass`](https://docs.python.org/3/library/getpass.html). Here's an...

enhancement

This is the same `attrs` version issue that I opened for [aiohttp-client-cache](https://github.com/requests-cache/aiohttp-client-cache/issues/131). You can check the log of my other package that failed due to this [here](https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=544489&view=logs&j=656edd35-690f-5c53-9ba3-09c10d0bea97&t=e5c8ab1d-8ff9-5cae-b332-e15ae582ed2d). At the bottom,...

bug

**Is your feature request related to a problem? Please describe.** No. USGS water data has a new web service called SensorThings that provides access to many USGS datasets. **Describe the...

**Describe the bug** The sensors' widget is not aligned with other widgets. It appears that the widget's width is not the same as others. I didn't change any of the...

Need to be fixed

Based on the discussion [here](https://github.com/anyoptimization/pymoo/issues/537) this PR rewrites `JoblibParallelization` to improve reliability and consistency of using `joblib`.

feature request

The current implementation of `JoblibParallelization` that uses an already instantiated `Parallel` can lead to some issues such as [this](https://github.com/joblib/joblib/issues/1243) one. A better approach would be to take as input all...

feature request

GDAL's python binding has this option to suppress all warnings temporarly: ```python from osgeo import gdal with gdal.ExceptionMgr(useExceptions=False), gdal.quiet_errors(): # some operation ``` This is `gdal`'s `quiet_errors` function: ```python @contextlib.contextmanager...

### The problem In my [package](https://github.com/hyriver/async-retriever), I have two tests for checking caching. When I run the tests with `pytest`, I get this warning: ```console /Users/tchegini/repos/hyriver/async-retriever/.nox/tests-3-9/lib/python3.9/site-packages/_pytest/unraisableexception.py:80: PytestUnraisableExceptionWarning: Exception ignored in:...

bug

This PR Fixes the issue with getting the bounds wrong when affine has no rotation or the resolution is negative. (mdbartos/pysheds#250)

I am using `ViewFinder` to create a raster directly from an `xarray.dataarray`, like so: ```python from pysheds.view import Raster, ViewFinder viewfinder = ViewFinder(affine=dem.rio.transform(), shape=dem.shape, crs=dem.rio.crs, nodata=dem.rio.nodata) raster = Raster(dem.to_numpy(), viewfinder=viewfinder)...