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

Incorrect hotelling emissions when running on Linux #81

Open
danielbizercox opened this issue Jan 13, 2025 · 0 comments
Open

Incorrect hotelling emissions when running on Linux #81

danielbizercox opened this issue Jan 13, 2025 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@danielbizercox
Copy link
Collaborator

MOVES4 and MOVES5 both produce incorrect hotelling (specifically, APU and shorepower) estimations when running on Linux. We plan to fix this bug in upcoming patches to both versions of the model.

@danielbizercox danielbizercox added the bug Something isn't working label Jan 13, 2025
@danielbizercox danielbizercox added this to the MOVES4.0.2 milestone Jan 13, 2025
danielbizercox added a commit that referenced this issue Jan 13, 2025
… on Linux (#81)

The Go BaseRateCalculator reads input from flat files in the bundle. These flat files are always created with lowercase names. However, the go code was incorrectly trying to read the shorepoweremissionratefraction flat file using title case. This works on Windows, because file names are case insensitive on that platform. However, this fails on platforms where file names are case sensitive.
danielbizercox added a commit that referenced this issue Jan 13, 2025
… on Linux (#81)

The Go BaseRateCalculator reads input from flat files in the bundle. These flat files are always created with lowercase names. However, the go code was incorrectly trying to read the shorepoweremissionratefraction flat file using title case. This works on Windows, because file names are case insensitive on that platform. However, this fails on platforms where file names are case sensitive.
@danielbizercox danielbizercox modified the milestones: MOVES4.0.2, MOVES5.0.1 Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant