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

Low precisions when writing the grid files (in gridio.c) #4

Open
guiaug opened this issue Nov 15, 2017 · 0 comments
Open

Low precisions when writing the grid files (in gridio.c) #4

guiaug opened this issue Nov 15, 2017 · 0 comments

Comments

@guiaug
Copy link

guiaug commented Nov 15, 2017

When splitting the grid for each process, the functions in gridio.c write non-integer values as "%e", which is single precision.
If the UTM grid is not centred, the coordinates written in the files, and read by the processes when starting the run, are low resolution. The coordinates can be 1 meter precision depending on the location of the domain.
Replacing "%e" by "%lf" in gridio.c would do the trick.

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

No branches or pull requests

1 participant