Skip to content

Conversation

@iamsaswata
Copy link
Owner

Summary

Multiple small code quality fixes to improve code cleanliness and professionalism.

Changes

1. Remove duplicate pandas dependency

File: setup.py
Pandas was listed twice in install_requires list.

2. Add missing standard_name for longitude

File: imdlib/core.py (line 202)
Added standard_name attribute for longitude to match the latitude pattern.

3. Remove unused sys import

File: imdlib/core.py (line 9)
The sys module was imported but never used.

4. Fix typo in comment

File: imdlib/naming.py (line 44)
Fixed comment: "Representing untits in netcdf data" → "Representing units in netcdf data"

5. Fix typo in exception message

File: imdlib/core.py (line 111)
Fixed error message: "Error in in given lon" → "Error in given lon"

All changes are cosmetic and do not affect functionality.

Multiple small code quality fixes:

1. Remove duplicate pandas dependency in setup.py
2. Add missing standard_name attribute for longitude in core.py (matching latitude pattern)
3. Remove unused sys import in core.py
4. Fix typo in comment: 'untits' → 'units' in naming.py
5. Fix typo in exception message: 'Error in in given' → 'Error in given' in core.py

These changes improve code cleanliness and professionalism without affecting functionality.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants