Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unexpected nans from gradient search #456

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Merge branch 'main' into fix-gradient-nan

61cd996
Select commit
Loading
Failed to load commit list.
Draft

Fix unexpected nans from gradient search #456

Merge branch 'main' into fix-gradient-nan
61cd996
Select commit
Loading
Failed to load commit list.
codefactor.io / CodeFactor failed Oct 25, 2024 in 10s

6 issues fixed. 14 issues found.

Annotations

Check notice on line 213 in pyresample/future/resamplers/nearest.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/future/resamplers/nearest.py#L213

Unresolved comment '# TODO: Add 'chunks' keyword argument to this method and use it'. (C100)

Check notice on line 231 in pyresample/future/resamplers/resampler.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/future/resamplers/resampler.py#L231

Unresolved comment '# TODO: convenience for file based caching'. (C100)

Check notice on line 101 in pyresample/future/resamplers/nearest.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/future/resamplers/nearest.py#L101

Unresolved comment '# TODO: Add decorator for geom<->geom support'. (C100)

Check notice on line 640 in pyresample/geometry.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/geometry.py#L640

Unresolved comment '# FIXME: Add logic for out-of-earth disk projections'. (C100)

Check notice on line 2775 in pyresample/geometry.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/geometry.py#L2775

Unresolved comment '# FIXME: Add logic for out-of-earth-disk'. (C100)

Check notice on line 1026 in pyresample/kd_tree.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/kd_tree.py#L1026

Unresolved comment '# TODO: Add 'chunks' keyword argument to this method and use it'. (C100)

Check notice on line 1090 in pyresample/kd_tree.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/kd_tree.py#L1090

Unresolved comment '# FIXME: Can't include coordinates whose dimensions depend on the geo dims either'. (C100)

Check notice on line 102 in pyresample/future/resamplers/nearest.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/future/resamplers/nearest.py#L102

Unresolved comment '# TODO: Add decorator for object type support'. (C100)

Check notice on line 373 in pyresample/geometry.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/geometry.py#L373

Unresolved comment '# FIXME: This currently replicate values if heigh/width < row_num/col_num !' (C100)

Check notice on line 112 in pyresample/ewa/_legacy_dask_ewa.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/ewa/_legacy_dask_ewa.py#L112

Unresolved comment '# FIXME: How do we check swath usage/coverage if we only do this'. (C100)

Check notice on line 33 in pyresample/spherical_geometry.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/spherical_geometry.py#L33

Unresolved comment '# FIXME: this has not been tested with R != 1'. (C100)

Check notice on line 293 in pyresample/ewa/dask_ewa.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/ewa/dask_ewa.py#L293

Unresolved comment '# TODO: Create tuple of 2D arrays to operate on. For example:'. (C100)

Check notice on line 354 in pyresample/spherical.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/spherical.py#L354

Unresolved comment '# TODO: this in future should point to SPoint or SMultiPoint'. (C100)

Check notice on line 364 in pyresample/geometry.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/geometry.py#L364

Unresolved comment '# FIXME: ~(~np.isfinite(dim1_side) | ~np.isfinite(dim1_side))'. (C100)