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

chgres_cube grib2 GFS data support #48

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
2396483
chgres_cube_grib2_atmos: This commit references #66221
LarissaReames-NOAA Jul 18, 2019
736b24f
chgres_cube_grib2_atmos: This commit references #66221
LarissaReames-NOAA Jul 19, 2019
9e437ee
chgres_cube_grib2_atmos: This commit references #66268
LarissaReames-NOAA Jul 18, 2019
94cc0fe
chgres_cube_grib2_atmos: This commit references #66268
LarissaReames-NOAA Jul 19, 2019
5b1dfa5
chgres_cube_grib2_atmos: This commit references #66268
LarissaReames-NOAA Jul 21, 2019
44ea443
Merge branch 'feature/chgres_cube_grib2_atmos' of gerrit:UFS_UTILS in…
LarissaReames-NOAA Jul 21, 2019
d414c42
chgres_cube_grib2_atmos: This commit references #66268
LarissaReames-NOAA Aug 7, 2019
3521075
chgres_cube_grib2_atmos: This commit references #66268
LarissaReames-NOAA Aug 7, 2019
ae22e22
feature/chgres_cube_grib2_atmos: This commit references #66268.
GeorgeGayno-NOAA Aug 16, 2019
c2adf96
feature/chgres_cube_grib2_atmos: This commit references #66268.
GeorgeGayno-NOAA Aug 16, 2019
ff603b9
chgres_cube_grib2_atmos: This commit references #66268
LarissaReames-NOAA Aug 19, 2019
427061d
Merge branch 'feature/chgres_cube_grib2_atmos' of gerrit:UFS_UTILS in…
LarissaReames-NOAA Aug 19, 2019
591ef88
chgres_cube_grib2_atmos: This commit references #66268
LarissaReames-NOAA Aug 20, 2019
8592b81
chgres_cube_grib2_atmos: This commit references #66268
LarissaReames-NOAA Aug 21, 2019
d6c9b31
chgres_cube_grib2_atmos: This commit references #66268 (#8)
LarissaReames-NOAA Aug 23, 2019
8aa3b63
feature/hera_port This commit references #1.
GeorgeGayno-NOAA Sep 4, 2019
a38b232
feature/hera_port This commit references #1.
GeorgeGayno-NOAA Sep 4, 2019
01c6f1d
feature/hera_port This commit references issue #1.
GeorgeGayno-NOAA Sep 4, 2019
5a0e912
feature/hera_port This commit references issue #1.
GeorgeGayno-NOAA Sep 4, 2019
ec327b8
feature/hera_port This commit references issue #1.
GeorgeGayno-NOAA Sep 5, 2019
e2a0aad
feature/hera_port This commit references #1.
GeorgeGayno-NOAA Sep 6, 2019
bae8fea
feature/hera_port This commit references #1.
GeorgeGayno-NOAA Sep 6, 2019
e44ff25
feature/hera_port This commit references #1.
GeorgeGayno-NOAA Sep 6, 2019
00de954
feature/hera_port This commit references #1.
GeorgeGayno-NOAA Sep 9, 2019
3241cfa
feature/hera_port This commit references #1.
GeorgeGayno-NOAA Sep 9, 2019
2044db3
feature/hera_port This commit references #1.
GeorgeGayno-NOAA Sep 9, 2019
e5c508d
feature/hera_port This commit references #1.
GeorgeGayno-NOAA Sep 10, 2019
b1951d1
feature/hera_port This commit references #1.
GeorgeGayno-NOAA Sep 11, 2019
ac49bb5
chgres_cube_grib2_atmos: This commit references #66268
LarissaReames-NOAA Sep 11, 2019
a5dd089
Merge branch 'feature/chgres_cube_grib2_atmos' into feature/chgres_cu…
LarissaReames-NOAA Sep 11, 2019
009496c
Feature/chgres cube grib2 atmos (#13)
LarissaReames-NOAA Sep 12, 2019
7dbe65c
feature/hera_port: This commit references #1.
GeorgeGayno-NOAA Sep 12, 2019
ba9d991
feature/hera_port: This commit references #1.
GeorgeGayno-NOAA Sep 13, 2019
d88bf1c
feature/hera_port: This commit references #1.
GeorgeGayno-NOAA Sep 13, 2019
9381aeb
feature/hera_port: This commit references #1.
GeorgeGayno-NOAA Sep 18, 2019
5d68083
feature/hera_port: This commit references #1.
GeorgeGayno-NOAA Sep 18, 2019
de48ad1
feature/hera_port: This commit references #1.
GeorgeGayno-NOAA Sep 19, 2019
829b1db
feature/hera_port: This commit references #1.
GeorgeGayno-NOAA Sep 23, 2019
573bd48
feature/hera_port: This commit references #1.
GeorgeGayno-NOAA Sep 26, 2019
5149a88
feature/hera_port: This commit references #1.
GeorgeGayno-NOAA Sep 30, 2019
63ee8bd
feature/hera_port: This commit references #1.
GeorgeGayno-NOAA Oct 2, 2019
b799955
Merge branch 'develop' into chgres_cube_grib2_atmos
BinLiu-NOAA Oct 7, 2019
6dd44b8
Merge branch 'hera_port' into chgres_cube_grib2_atmos
BinLiu-NOAA Oct 7, 2019
1c150e9
Merge branch 'develop' into feature/chgres_cube_grib2_atmos
BinLiu-NOAA Oct 12, 2019
f31a859
Merge branch 'develop' into feature/chgres_cube_grib2_atmos
BinLiu-NOAA Oct 16, 2019
f819e18
Merge pull request #1 from hafs-community/feature/chgres_cube_grib2_a…
LarissaReames-NOAA Oct 22, 2019
0160f6f
Merge branch 'develop' into feature/chgres_cube_grib2_atmos
BinLiu-NOAA Oct 30, 2019
930ff31
Merge branch 'feature/chgres_cube_grib2_atmos' of https://github.com/…
LarissaReames-NOAA Oct 30, 2019
76e9bdb
Merge remote-tracking branch 'LarissaFork/feature/chgres_cube_grib2_a…
JiliDong-NOAA Oct 31, 2019
ecec8ef
re-order grib2 isobaric levels
JiliDong-NOAA Oct 31, 2019
332c584
keep grib2 CLWMR name consistent with origional
JiliDong-NOAA Oct 31, 2019
1945269
Replaced namelist option "base_install_dir" with "varmap_file" and
LarissaReames-NOAA Oct 31, 2019
7940d8b
Merge pull request #3 from JiliDong-NOAA/feature/chgres_cube_grib2_atmos
LarissaReames-NOAA Oct 31, 2019
8a691d6
Merge branch 'feature/chgres_cube_grib2_atmos' of https://github.com/…
LarissaReames-NOAA Oct 31, 2019
91fb62e
Merge pull request #2 from hafs-community/feature/chgres_cube_grib2_a…
LarissaReames-NOAA Oct 31, 2019
73d23e8
Merge branch 'feature/chgres_cube_grib2_atmos' of https://github.com/…
LarissaReames-NOAA Oct 31, 2019
70a44e7
Merge pull request #2 from LarissaReames-NOAA/feature/chgres_cube_gri…
GeorgeGayno-NOAA Nov 1, 2019
b1a1cf3
feature/chgres_cube_grib2_atmos:
GeorgeGayno-NOAA Nov 1, 2019
41a3543
Merge pull request #4 from GeorgeGayno-NOAA/feature/chgres_cube_grib2…
LarissaReames-NOAA Nov 4, 2019
0c778e5
Merge branch 'feature/chgres_cube_grib2_atmos' of https://github.com/…
LarissaReames-NOAA Nov 4, 2019
200e0b8
feature/chgres_cube_grib2_atmos:
GeorgeGayno-NOAA Nov 4, 2019
46adf8a
grib2 inventory file for gfs data is now saved in the run directory i…
LarissaReames-NOAA Nov 4, 2019
6ad2789
Jet support for chgres_cube_grib2_atmos
JiliDong-NOAA Nov 5, 2019
4d8c9fb
Removed a few tabs in favor of spaces in model_grid.F90.
LarissaReames-NOAA Nov 6, 2019
0213e8c
Merge pull request #6 from JiliDong-NOAA/feature/chgres_cube_grib2_atmos
LarissaReames-NOAA Nov 6, 2019
5fc88c6
feature/chgres_cube_grib2_atmos:
GeorgeGayno-NOAA Nov 6, 2019
aa550f4
Merge remote-tracking branch 'Larissa/feature/chgres_cube_grib2_atmos…
GeorgeGayno-NOAA Nov 6, 2019
0f46d32
fix sorting to handle isobaric levels with decimal (mb)
JiliDong-NOAA Nov 7, 2019
e386583
fix sorting to handle isobaric levels with decimal (mb) cleaning up
JiliDong-NOAA Nov 7, 2019
021e855
All atmospheric variables are now read in from grib2 day based on grib2
LarissaReames-NOAA Nov 7, 2019
f60eb34
Merge pull request #7 from JiliDong-NOAA/feature/chgres_cube_grib2_atmos
LarissaReames-NOAA Nov 7, 2019
d8c2f72
Merge branch 'feature/chgres_cube_grib2_atmos' of https://github.com/…
LarissaReames-NOAA Nov 7, 2019
84c34d4
Merge branch 'feature/chgres_cube_grib2_atmos' into feature/chgres_cu…
LarissaReames-NOAA Nov 7, 2019
14c2644
Merge pull request #5 from GeorgeGayno-NOAA/feature/chgres_cube_grib2…
LarissaReames-NOAA Nov 7, 2019
df374ba
Bug fix for an extraneous line of code left over in last merge.
LarissaReames-NOAA Nov 7, 2019
da078d9
Initial commit with surface code
LarissaReames-NOAA Nov 18, 2019
4112354
Fixed a bug with staggered grid creation which resulted in nonsense i…
LarissaReames-NOAA Nov 20, 2019
be4bd0a
Fixed an indexing bug causing veg_type_input_grid to be 0 everywhere,…
LarissaReames-NOAA Dec 9, 2019
71df253
Ice depth is now filled with a default value of 1.5m if the field is …
LarissaReames-NOAA Dec 16, 2019
47e7da7
Fix to prevent erroneous very large snow depth values stemming from m…
LarissaReames-NOAA Dec 16, 2019
e331712
Look for LANDN for the landmask first, and look for LAND if LANDN isn't
LarissaReames-NOAA Dec 19, 2019
729c6b2
Merge pull request #8 from LarissaReames-NOAA/chgres_cube_grib2_release
LarissaReames-NOAA Dec 19, 2019
5f3f697
Merge branch 'develop' of https://github.com/NOAA-EMC/UFS_UTILS into …
LarissaReames-NOAA Jan 9, 2020
0a08a45
Merge pull request #9 from LarissaReames-NOAA/chgres_cube_grib2_release
LarissaReames-NOAA Jan 9, 2020
f4d814e
Added logic to turn off soil moisture rescaling for grib2 data while …
LarissaReames-NOAA Jan 9, 2020
ba884ab
Merge pull request #3 from LarissaReames-NOAA/feature/chgres_cube_gri…
GeorgeGayno-NOAA Jan 13, 2020
8a74a49
feature/chgres_cube_grib2_release: This commit references #7.
GeorgeGayno-NOAA Jan 13, 2020
26e2aa4
feature/chgres_cube_grib2_release: This commit references #7.
GeorgeGayno-NOAA Jan 13, 2020
85dcf9b
feature/chgres_cube_grib2_release: This commit references #7.
GeorgeGayno-NOAA Jan 13, 2020
7185834
feature/chgres_cube_grib2_release: This commit references #7.
GeorgeGayno-NOAA Jan 13, 2020
8905b63
feature/chgres_cube_grib2_release: This commit references #7.
GeorgeGayno-NOAA Jan 13, 2020
df4b273
Port chgres_cube to linux.gnu and linux.intel
DusanJovic-NOAA Jan 14, 2020
fc32eb0
Merge pull request #4 from DusanJovic-NOAA/george_chgres_cube_grib2_r…
GeorgeGayno-NOAA Jan 14, 2020
ec372ba
feature/chgres_cube_grib2_release: This commit references #7.
GeorgeGayno-NOAA Jan 14, 2020
999da97
feature/chgres_cube_grib2_release: This commit references #7.
GeorgeGayno-NOAA Jan 14, 2020
0c1ef8b
feature/chgres_cube_grib2_release: This commit references #7.
GeorgeGayno-NOAA Jan 14, 2020
c926a87
feature/chgres_cube_grib2_release: This commit references #7.
GeorgeGayno-NOAA Jan 14, 2020
b9f9ce8
feature/chgres_cube_grib2_release: This commit references #7.
GeorgeGayno-NOAA Jan 14, 2020
12b051b
feature/chgres_cube_grib2_release: This commit references #7.
GeorgeGayno-NOAA Jan 15, 2020
b1f4bf1
feature/chgres_cube_grib2_release: This commit references #7.
GeorgeGayno-NOAA Jan 15, 2020
7f07342
feature/chgres_cube_grib2_release: This commit references #7.
GeorgeGayno-NOAA Jan 15, 2020
0ed5f0c
feature/chgres_cube_grib2_release: This commit references #7.
GeorgeGayno-NOAA Jan 15, 2020
a40c5fc
feature/chgres_cube_grib2_release: This commit references #7.
GeorgeGayno-NOAA Jan 16, 2020
3388d34
feature/chgres_cube_grib2_release This commit references #7.
GeorgeGayno-NOAA Jan 16, 2020
1c2bc99
feature/chgres_cube_grib2_release This commit references #7.
GeorgeGayno-NOAA Jan 17, 2020
cbe8df5
feature/chgres_cube_grib2_release: This commit references #7.
GeorgeGayno-NOAA Jan 17, 2020
7974e17
feature/chgres_cube_grib2_release: This commit references #7.
GeorgeGayno-NOAA Jan 23, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chgres_cube_grib2_atmos: This commit references #66268
Fixed a new indexing error in creating the staggered grid coordinates.
Also removed the call to iso2sig when data is in isobaric coordinates.
3d pressure array is now generated from pressure levels read from file.
  • Loading branch information
LarissaReames-NOAA committed Sep 11, 2019
commit ac49bb5c8eb4935c5a6811633fbe71fd267bb730
10 changes: 9 additions & 1 deletion sorc/chgres_cube.fd/input_data.F90
Original file line number Diff line number Diff line change
Expand Up @@ -2617,7 +2617,15 @@ subroutine read_input_atm_grib2_file(localpet)
call error_handler("IN FieldGet", rc)
end do

call iso2sig(rlevs,vcoord,lev_input,levp1_input,psptr,atm,clb,cub,5+num_tracers, iret)
!call iso2sig(rlevs,vcoord,lev_input,levp1_input,psptr,atm,clb,cub,5+num_tracers, iret)
do i = clb(1),cub(1)
do j = clb(2),cub(2)
atm(1)%var(i,j,:) = rlevs(lev_input:1:-1)
do n = 2,num_tracers+5
atm(n)%var(i,j,:) = atm(n)%var(i,j,lev_input:1:-1)
end do
end do
end do
deallocate(vcoord)

else
Expand Down
24 changes: 20 additions & 4 deletions sorc/chgres_cube.fd/model_grid.F90
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ subroutine define_input_grid_gfs_grib2(localpet, npets)
enddo

deltalon = abs(longitude(2,1)-longitude(1,1))
if(localpet==0) print*, "deltalon = ", deltalon

print*,"- CALL FieldScatter FOR INPUT GRID LONGITUDE."
call ESMF_FieldScatter(longitude_input_grid, longitude, rootpet=0, rc=rc)
Expand Down Expand Up @@ -707,7 +708,9 @@ subroutine define_input_grid_gfs_grib2(localpet, npets)
lat_src_ptr(i,j) = latitude(i,j)
enddo
enddo

if(localpet==0) print*, "lon first = ", lon_src_ptr(1:10,1)
if(localpet==0) print*, "lat first = ", lat_src_ptr(1,1:10)

print*,"- CALL GridAddCoord FOR INPUT GRID."
call ESMF_GridAddCoord(input_grid, &
staggerloc=ESMF_STAGGERLOC_CORNER, rc=rc)
Expand Down Expand Up @@ -782,7 +785,7 @@ subroutine define_input_grid_grib2(localpet, npets)
lon_target(i_target,j_target)
!lat_corners(ip1_input,jp1_input), &
!lon_corners(ip1_input,jp1_input)
real(esmf_kind_r8) :: deltalon, dx
real(esmf_kind_r8) :: deltalon, dx, deltalat
integer :: ncid,id_var, id_dim
real(esmf_kind_r8), pointer :: lat_src_ptr(:,:), lon_src_ptr(:,:)
character(len=10000) :: cmdline_msg, temp_msg, temp_msg2
Expand Down Expand Up @@ -1010,10 +1013,23 @@ subroutine define_input_grid_grib2(localpet, npets)
if (trim(input_grid_type) == "latlon") then

deltalon = abs(longitude_one_tile(2,1)-longitude_one_tile(1,1))
deltalat = abs(latitude_one_tile(1,2) - latitude_one_tile(1,1))
do j = clb(2), cub(2)
do i = clb(1), cub(1)
lon_src_ptr(i,j) = longitude_one_tile(i,1) - (0.5_esmf_kind_r8*deltalon)
lat_src_ptr(i,j) = 0.5_esmf_kind_r8 * (latitude_one_tile(i,j-1)+ latitude_one_tile(i,j))

if (i == ip1_input) then
lon_src_ptr(i,j) = longitude_one_tile(i-1,1)+(0.5_esmf_kind_r8*deltalon)
else
lon_src_ptr(i,j) = longitude_one_tile(i,1) - (0.5_esmf_kind_r8*deltalon)
endif

if (j == jp1_input) then
lat_src_ptr(i,j) = latitude_one_tile(1,j-1)+(0.5_esmf_kind_r8*deltalat)
else
lat_src_ptr(i,j) = latitude_one_tile(1,j) - (0.5_esmf_kind_r8*deltalat)
endif

!lat_src_ptr(i,j) = 0.5_esmf_kind_r8 * (latitude_one_tile(i,j-1)+ latitude_one_tile(i,j))
enddo
enddo
else
Expand Down