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 time coordinate when running at a single grid cell #557

Open
SeanBryan51 opened this issue Mar 5, 2025 · 0 comments
Open

Incorrect time coordinate when running at a single grid cell #557

SeanBryan51 opened this issue Mar 5, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@SeanBryan51
Copy link
Collaborator

In the following code, it looks like the if condition will incorrectly assign a local time coordinate (for site configurations) if we run at a single grid cell with a spatial configuration other than cable_user%MetType = 'gswp'.

IF(mland_fromfile==1.AND.(TRIM(cable_user%MetType) .NE. 'gswp')) THEN ! If single site, this is local time
time_coord = 'LOC' ! 12am is 12am local time, at site/gridcell
ELSE ! If multiple/global/regional, use GMT
time_coord = 'GMT' ! 12am is GMT time, local time set by longitude
END IF

Originally posted by @har917 in #544 (review)

@SeanBryan51 SeanBryan51 added the bug Something isn't working label Mar 5, 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