Skip to content

Fix mesh generation in init_grid()#39

Merged
bensonr merged 1 commit into
NOAA-GFDL:masterfrom
ofuhrer:patch-1
May 4, 2020
Merged

Fix mesh generation in init_grid()#39
bensonr merged 1 commit into
NOAA-GFDL:masterfrom
ofuhrer:patch-1

Conversation

@ofuhrer
Copy link
Copy Markdown
Contributor

@ofuhrer ofuhrer commented Apr 30, 2020

Tile index to grid_global was not correct inside a loop over tiles.

@bensonr @lharris4 This fixes Issue 38.

Tile index to `grid_global` was not correct inside a loop over tiles.
@bensonr bensonr requested review from bensonr and lharris4 April 30, 2020 15:42
@bensonr bensonr added the bug Something isn't working label Apr 30, 2020
@bensonr
Copy link
Copy Markdown
Contributor

bensonr commented Apr 30, 2020

@lharris4 will this fix be answer changing and under what conditions?

@ofuhrer
Copy link
Copy Markdown
Contributor Author

ofuhrer commented Apr 30, 2020

My 0.02$: This will change the resulting lat/lon of the mesh, if mesh generation is done internally in the model. I am assuming that typically a INPUT/grid_spec.nc file is being read for mesh generation and mesh generation is only done internally for idealized model setups, but I might be wrong. Also, it could be that the next time somebody generates a grid_spec.nc file using the model after the fix, that the contents of that file will be different.

@thomas-robinson
Copy link
Copy Markdown
Member

This will affect the doubly periodic and aquaplanet then

@lharris4
Copy link
Copy Markdown
Contributor

lharris4 commented Apr 30, 2020 via email

Copy link
Copy Markdown
Contributor

@lharris4 lharris4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@lharris4
Copy link
Copy Markdown
Contributor

lharris4 commented May 1, 2020

#39 should fix this

@bensonr bensonr merged commit eee6555 into NOAA-GFDL:master May 4, 2020
@ofuhrer ofuhrer deleted the patch-1 branch May 5, 2020 20:42
XiaqiongZhou-NOAA added a commit to XiaqiongZhou-NOAA/GFDL_atmos_cubed_sphere that referenced this pull request Jun 15, 2020
* Fixes for mesh generation in init_grid (NOAA-GFDL#39)
* Remove trailing whitespace and any tabs
* Add default values for nest_*offsets in fv_control
DusanJovic-NOAA pushed a commit to NOAA-EMC/GFDL_atmos_cubed_sphere that referenced this pull request Jun 22, 2020
* Fixes for GNU compilation issues (NOAA-GFDL#32)
* Fixes for mesh generation in init_grid (NOAA-GFDL#39)
* Remove trailing whitespace and any tabs
* Add default values for nest_*offsets in fv_control
* Remove the fix for mesh generation and it will be fixed later
* fix GNU out-of-bound error in driver/fvGFS/atmosphere.F90
* Correct Z dimensions in driver/fvGFS/atmosphere.F90

Co-authored-by: Xiaqiong Zhou <Xiaqiong.Zhou@noaa.gov>
tsupinie pushed a commit to tsupinie/GFDL_atmos_cubed_sphere that referenced this pull request Jul 20, 2020
* Fixes for GNU compilation issues (NOAA-GFDL#32)
* Fixes for mesh generation in init_grid (NOAA-GFDL#39)
* Remove trailing whitespace and any tabs
* Add default values for nest_*offsets in fv_control
* Remove the fix for mesh generation and it will be fixed later
* fix GNU out-of-bound error in driver/fvGFS/atmosphere.F90
* Correct Z dimensions in driver/fvGFS/atmosphere.F90

Co-authored-by: Xiaqiong Zhou <Xiaqiong.Zhou@noaa.gov>
climbfuji pushed a commit to climbfuji/GFDL_atmos_cubed_sphere that referenced this pull request Apr 24, 2024
Merge Geos/develop into geos/main for release
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

Successfully merging this pull request may close these issues.

Possible bug in fv_grid_tools.f90

4 participants