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

Bugfix for writesite utility #80

Merged
merged 1 commit into from
Aug 23, 2017
Merged

Bugfix for writesite utility #80

merged 1 commit into from
Aug 23, 2017

Conversation

kmfoley
Copy link
Collaborator

@kmfoley kmfoley commented Aug 23, 2017

modified:   writesite.F

The original version of writesite (released with CMAQv5.2) did not support polar stereographic projections except when SITE_FILE was set to “ALL” (or not set at all, since the default behavior seems to be to internally set SITE_FILE to ALL if not set to a different value in the script).

This revised version added polar stereographic projection support to the “ToProj” subroutine in writesite.F which is called by module_site.F if SITE_FILE is set to a value different than ALL (and the corresponding SITE_FILE contains valid lon/lat entries).

In addition, the error messages at the end of the SetProj, ToProj, and ToLL subroutines in writesite.F were updated to say “Unsupported map projection” instead of “Map projection setup error”

	modified:   writesite.F

The original version of writesite (released with CMAQv5.2) did not support polar stereographic projections except when SITE_FILE was set to “ALL” (or not set at all, since the default behavior seems to be to internally set SITE_FILE to ALL if not set to a different value in the script).

This revised version added polar stereographic projection support to the “ToProj” subroutine in writesite.F which is called by module_site.F if SITE_FILE is set to a value different than ALL (and the corresponding SITE_FILE contains valid lon/lat entries).

In addition, the error messages at the end of the SetProj, ToProj, and ToLL subroutines in writesite.F were updated to say “Unsupported map projection” instead of “Map projection setup error”
@kmfoley kmfoley merged commit b157632 into USEPA:5.2 Aug 23, 2017
kmfoley added a commit that referenced this pull request Oct 14, 2022
Chapter 6.1-6.7 & 6.9.2 Edits
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.

1 participant