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

Eliminazione dello spazio bianco nell'header dei CSV di FrostForecast #5

Open
edigiacomo opened this issue Mar 2, 2022 · 0 comments · May be fixed by #6
Open

Eliminazione dello spazio bianco nell'header dei CSV di FrostForecast #5

edigiacomo opened this issue Mar 2, 2022 · 0 comments · May be fixed by #6

Comments

@edigiacomo
Copy link
Member

Nell'header del CSV prodotto da FrostForecast il campo FORECAST_MAX ha uno spazio bianco come suffisso https://github.com/ARPA-SIMC/agroTools/blob/v1.4.1/bin/frostForecast/frost.cpp#L493 al contrario di tutte le altre colonne.

A parte la trascurabile disomogeneità, l'assenza di spazi prima e dopo il nome di una colonna renderebbe più immediato il parsing da parte di programmi che interpretano automaticamente l'header, come csv.DictReader della standard library Python.

@edigiacomo edigiacomo linked a pull request Mar 2, 2022 that will close this issue
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 a pull request may close this issue.

1 participant