-
Notifications
You must be signed in to change notification settings - Fork 39
Grib2 writer for oceanicepost #99
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
Merged
Merged
Changes from 133 commits
Commits
Show all changes
146 commits
Select commit
Hold shift + click to select a range
2fce5d3
updated ice.csv, init_mod.f90, and ocnicepost.F90 for new grib generator
ce9825b
initial writing of grib2 capablities
8059745
updates for implimmenting grib2 writer
fa44bef
adding grib2 2D writing capabilities to ocnicepost
788826f
adding grib2 2D writing capabilities to ocnicepost-fixed some issues
7d8b0a5
adding grib2 2D writing capabilities to ocnicepost-fixed issues
3f1cd1c
adding grib2 2D writing capabilities to ocnicepost-fixed issues
73ccd1d
adding grib2 2D writing capabilities to ocnicepost-fixed more issues
51e58b6
adding grib2 2D writing capabilities to ocnicepost-fixed one more issue
86972f3
adding grib2 2D writing capabilities to ocnicepost-fixed typo
069eaf5
adding grib2 2D writing capabilities to ocnicepost-fixed issues
0f75119
adding grib2 2D writing capabilities to ocnicepost-fixed issues
1d80104
adding grib2 2D writing capabilities to ocnicepost-fixed issues
5331042
adding grib2 2D writing capabilities to ocnicepost-fixed issues
f301fc9
adding grib2 2D writing capabilities to ocnicepost-fixed issues
6352c7c
adding grib2 2D writing capabilities to ocnicepost-fixed issues
9144c52
implimmenting 2d grib2 writer-fixed issues
39089fe
implimmenting 2d grib2 writer-fixed issues
730924b
modified time string for ice model temporarly
b0eda67
fixed unit for wrting in log file
057ab9f
fixed wrting in log file
26da8cc
fixed wrting in log file
bebf1a2
fixed allocation issues
728bb0c
fixed allocation issues
7ff1c00
fixed allocation issues
23a5be5
add stuff for debugging
567dd87
add stuff for debugging
a6208cd
add stuff for debugging
038f8e9
add stuff for debugging
75f5585
add some command, changed grid parameters for debugging
fb3b239
add some command, changed grid parameters for debugging
c121a06
increased cgrib and changed grid parameters for debugging
8435a58
changed add grib format to add dummy variables
1afae32
changed add grib format to add dummy variables
756fe13
changed add grib format to add dummy variables
0cb1e96
changed addfield added bmp
d568391
changed addfield added bmp
04ee9f7
changed section 5 parameters
521cbaa
removed section 5 parameters
afb8c51
changed section 5 parameters
dd2f19d
changed parameters fpor section 5
5254b30
changed parameters for section 5
23a2fb9
changed parameters for section 5
cb51a11
changed parameters for sections
381d586
changed parameters for sections
df67816
changed parameters for section1
3ff6e05
changed parameters for section1
8ffb919
changed parameters for sections
5b400f4
changed parameters for sections
ba3d7f6
changed parameters for sections
7fa9ec8
changed parameters for sections-modified the code fix issues
a2e35e3
changed parameters for sections-modified the code fix issues
e2a1987
changed parameters for sections-modified the code fix issues
79ce23c
changed parameters for section1 for missing parammeters
8e39da1
changed parameters for section1 for missing parammeters
b1ec97e
changed parameters for section1 for missing parammeters
01af797
added 3D and Ocean writer capabilities - modified codes/tables
17a1f16
added 3D and Ocean writer capabilities - modified codes/tables-change…
524542d
added 3D and Ocean writer capabilities - modified codes/tables-change…
cf498c8
added 3D and Ocean writer capabilities - modified codes/tables-change…
a242c5f
fixed/changed some parameterizations
b31ccbb
fixed/changed some parameterizations
a5e8dbc
fixed/changed some parameterizations
c3caabd
fixed/changed some parameterizations
924f2c7
reverse some changes
9f981aa
change to simple packing 40
66b7615
chaneged parameters
bc8f59f
chaneged parameters
54977b6
chaneged parameters
7a8bfe5
chaneged parameters
ebf130d
chaneged parameters
2cff625
chaneged parameters
09cb35e
chaneged parameters
269313c
chaneged parameters
1ae438f
chaneged parameters
bd1a68e
chaneged parameters
93c2bf1
chaneged parameters
2ba3b1d
chaneged parameters
b42c2b1
some changed on utils mod
7fe32a1
some changed on utils mod
1b6e85e
some changed on utils mod
49d50b5
some changes
b597bc3
modifying the code for adding mask
b798102
modifying the code for ype of writing
bf25160
debuging
68920b5
modifying Cmake
4e0d43c
some changes in cmake, maskinga for debugging
a01aff4
fixed issues
80d65af
fixed issues
68a50ac
fixed issues
0da7325
fixed issues
bd86a58
fixed issues
cd9a298
fixed issues
1b8190e
debugging to implimment masking
65850d5
changed some parammeters fixed issues, debuging
118dbc4
fixed issues
f5baace
fixed issues
ad67962
fixed issues
8c49fd4
changed to simple packing
1aa285f
trying to fix an issue
645be63
trying to fix an issue
4b4a98b
trying to fix an issue
4933471
trying to fix an issue
54d680b
Finalize the codes
5367c19
Finalize the codes
536bf27
Finalize the codes
c95c594
Merge branch 'develop' into grib2w
AminIlia-NOAA bd28fb3
debug
a8c9ead
added a tmp field
82b3832
some change to debug the issue of large negative numbers
8081588
fixed typos on section 4
76ffd30
changed section 5 values
ef6347d
changed section 5 values
d23cf88
changed section 5 values
67c3d52
finalized the grib2 writer code
AminIlia-NOAA 5f48581
Update utils_mod.F90
AminIlia-NOAA d8e1414
fixed some issue in write_grib2_3d
AminIlia-NOAA c778b79
fixed an issue in write_grib2_3d
AminIlia-NOAA 408074e
Update utils_mod.F90
AminIlia-NOAA 89dcdd8
changed stack version
AminIlia-NOAA 6129e4e
Some changes for real float data type
AminIlia-NOAA 776d147
test
AminIlia-NOAA 424eb0c
variables types have been changed
AminIlia-NOAA e53ab1e
variables types have been changed
AminIlia-NOAA 2e3fa29
added bitmap
AminIlia-NOAA 2f5883e
Merge branch 'NOAA-EMC:develop' into grib2w
AminIlia-NOAA 6d61a3f
added tob and removed ICETMP
AminIlia-NOAA e94f901
Merge branch 'grib2w' of github.com:AminIlia-NOAA/gfs-utils-AI into g…
AminIlia-NOAA 8115c4b
cleaned the code removed debuging comments
AminIlia-NOAA ce8270f
cleaned the code removed debuging comments
AminIlia-NOAA ed3f277
return back some debuging stuff
AminIlia-NOAA c3896c2
remove vscode and change file name to grb2
AminIlia-NOAA b1ffeb2
Delete .vscode directory
AminIlia-NOAA 7e46202
added flag for netcdf files
AminIlia-NOAA b08e44a
Update parm/ocnicepost/ocean_mx025_to_0p25.nml
AminIlia-NOAA ff070b0
Update parm/ocnicepost/ocnicepost.nml.jinja2
AminIlia-NOAA cc3b9b3
Update src/.gitignore
AminIlia-NOAA 68971dc
Update src/ocnicepost.fd/init_mod.F90
AminIlia-NOAA 0868587
Update parm/ocnicepost/ice_mx025_to_0p25.nml
AminIlia-NOAA b8b7897
Update src/ocnicepost.fd/init_mod.F90
AminIlia-NOAA ce5ae38
Update src/ocnicepost.fd/ocnicepost.F90
AminIlia-NOAA 9f9d357
Update src/ocnicepost.fd/ocnicepost.F90
AminIlia-NOAA f84c588
Update src/ocnicepost.fd/ocnicepost.F90
AminIlia-NOAA fcfd60f
hange netcdf flag to netcdff
AminIlia-NOAA e9c749c
change the flag names
AminIlia-NOAA 386a0b4
change the flag names
AminIlia-NOAA File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,3 +10,4 @@ log* | |
| ~ | ||
| .DS_Store | ||
|
|
||
| .vscode/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,11 @@ | ||
| ! variable name, dimension, grid location, remapping method, vector pair, grid location of vector pair | ||
| 'hi_h', 2 , 'Ct', 'bilinear', '', '' | ||
| 'hs_h', 2 , 'Ct', 'bilinear', '', '' | ||
| 'aice_h', 2 , 'Ct', 'bilinear', '', '' | ||
| 'Tsfc_h', 2 , 'Ct', 'bilinear', '', '' | ||
| 'uvel_h', 2 , 'Bu_x', 'bilinear', 'vvel_h', 'Bu_y' | ||
| 'vvel_h', 2 , 'Bu_y', 'bilinear', 'uvel_h', 'Bu_x' | ||
| 'frzmlt_h', 2 , 'Ct', 'conserve', '', '' | ||
| 'albsni_h', 2 , 'Ct', 'bilinear', '', '' | ||
| 'mlt_onset_h', 2 , 'Ct', 'bilinear', '', '' | ||
| 'frz_onset_h', 2 , 'Ct', 'bilinear', '', '' | ||
| 'sst_h', 2 , 'Ct', 'bilinear', '', '' | ||
| ! variable name, dimension, grid location, remapping method, vector pair, grid location of vector pair,gb2 varname,discription,unit,gc1,gc2,gc3,gc4,gc5,gc6,gc7,gc8 | ||
| 'hi_h',2, 'Ct', 'bilinear', '', '', 'ICETK', 'Ice Thickness', 'm',10,2,7,0,2,1,1,0 | ||
| 'hs_h',2, 'Ct', 'bilinear', '', '', 'SNVOLSI', 'Snow Volume Over Sea Ice per Unit Area', 'm3m-2',10,2,7,0,2,16,1,0 | ||
| 'aice_h',2, 'Ct', 'bilinear', '', '', 'ICEC', 'Ice Cover', 'Proportion',10,2,7,0,2,0,1,0 | ||
| 'Tsfc_h',2, 'Ct', 'bilinear', '', '', 'ICETMP', 'Ice Temperature', 'K',10,2,7,0,2,8,1,0 | ||
| 'uvel_h',2, 'Bu_x', 'bilinear', 'vvel_h', 'Bu_y', 'UICE', 'U-Component of Ice Drift', 'm/s',10,2,7,0,2,4,1,0 | ||
| 'vvel_h',2, 'Bu_y', 'bilinear', 'uvel_h', 'Bu_x', 'VICE', 'V-Component of Ice Drift', 'm/s',10,2,7,0,2,5,1,0 | ||
| 'frzmlt_h',2, 'Ct', 'conserve', '', '', 'FRZMLTPOT', 'freeze/melt potential', 'W m-2',10,2,7,0,2,27,1,0 | ||
| 'albsni_h',2, 'Ct', 'bilinear', '', '', 'ALBDOICE', 'Albedo', 'Numeric',10,2,7,0,2,14,1,0 | ||
| 'mlt_onset_h',2, 'Ct', 'bilinear', '', '', 'MLTDATE', 'melt onset date', 'Numeric',10,2,7,0,2,28,1,0 | ||
| 'frz_onset_h',2, 'Ct', 'bilinear', '', '', 'FRZDATE', 'freeze onset date', 'Numeric',10,2,7,0,2,29,1,0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,5 +7,6 @@ maskvar='tmask' | |
| sinvar='' | ||
| cosvar='' | ||
| angvar='ANGLET' | ||
| grib2=.true. | ||
| debug=.false. | ||
| / | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,26 +1,21 @@ | ||
| ! variable name, dimension, grid location, remapping method, vector pair, grid location of vector pair | ||
| 'SSH', 2 ,'Ct' , 'bilinear' , '', '' | ||
| 'SST', 2 ,'Ct' , 'bilinear' , '', '' | ||
| 'SSS', 2 ,'Ct' , 'bilinear' , '', '' | ||
| 'speed', 2 ,'Ct' , 'bilinear' , '', '' | ||
| 'ePBL', 2 ,'Ct' , 'bilinear' , '', '' | ||
| 'MLD_003', 2 ,'Ct' , 'bilinear' , '', '' | ||
| 'MLD_0125', 2 ,'Ct' , 'bilinear' , '', '' | ||
| 'latent', 2 ,'Ct' , 'conserve' , '', '' | ||
| 'sensible', 2 ,'Ct' , 'conserve' , '', '' | ||
| 'SW', 2 ,'Ct' , 'conserve' , '', '' | ||
| 'LW', 2 ,'Ct' , 'conserve' , '', '' | ||
| 'evap', 2 ,'Ct' , 'conserve' , '', '' | ||
| 'lprec', 2 ,'Ct' , 'conserve' , '', '' | ||
| 'fprec', 2 ,'Ct' , 'conserve' , '', '' | ||
| 'LwLatSens', 2 ,'Ct' , 'conserve' , '', '' | ||
| 'Heat_PmE', 2 ,'Ct' , 'conserve' , '', '' | ||
| 'SSU', 2 ,'Cu' , 'bilinear' , 'SSV' , 'Cv' | ||
| 'SSV', 2 ,'Cv' , 'bilinear' , 'SSU' , 'Cu' | ||
| 'taux', 2 ,'Cu' , 'conserve' , 'tauy' , 'Cv' | ||
| 'tauy', 2 ,'Cv' , 'conserve' , 'taux' , 'Cu' | ||
| 'temp', 3 ,'Ct' , 'bilinear' , '', '' | ||
| 'tob', 2 ,'Ct' , 'bilinear' , '', '' | ||
| 'so', 3 ,'Ct' , 'bilinear' , '', '' | ||
| 'uo', 3 ,'Cu' , 'bilinear' , 'vo' , 'Cv' | ||
| 'vo', 3 ,'Cv' , 'bilinear' , 'uo' , 'Cu' | ||
| ! variable name, dimension, grid location, remapping method, vector pair, grid location of vector pair,gb2 varname,discription,unit,gc1,gc2,gc3,gc4,gc5,gc6,gc7,gc8 | ||
| 'SSH',2,'Ct' , 'bilinear' , '', '','SSHG','Sea Surface Height Relative to Geoid','m',10,0,7,1,3,195,101,0 | ||
| 'SST',2,'Ct' , 'bilinear' , '', '','WTMP','Water Temperature','K',10,1,7,0,3,0,101,0 | ||
| 'SSS',2,'Ct' , 'bilinear' , '', '',SALIN','Salinity','psu',10,0,7,1,4,193,101,0 | ||
| 'speed',2,'Ct' , 'bilinear' , '', '','SPC','Current Speed','m/s',10,1,7,0,1,1,101,0 | ||
| 'MLD_003',2,'Ct' , 'bilinear' , '', '','WDEPTH','Water Depth','m',10,1,7,0,4,14,101,0 | ||
| 'latent',2,'Ct' , 'conserve' , '', '','LHTFL','Latent Heat Net Flux','W/m^2',0,1,7,0,0,10,101,0 | ||
| 'sensible',2,'Ct' , 'conserve' , '', '','SHTFL','Sensible Heat Net Flux','W/m^2',0,1,7,0,0,11,101,0 | ||
| 'SW',2,'Ct' , 'conserve' , '', '','NSWRF','Net Short Wave Radiation Flux','W/m^2',0,1,7,0,4,9,101,0 | ||
| 'LW',2,'Ct' , 'conserve' , '', '','NLWRF','Net Long-Wave Radiation Flux','W/m^2',0,1,7,0,5,5,101,0 | ||
| 'LwLatSens',2,'Ct' , 'conserve' , '', '','THFLX','Total Downward Heat Flux at Surface','W/m^2',0,0,7,1,0,197,101,0 | ||
| 'Heat_PmE',2,'Ct' , 'conserve' , '', '','DWHFLUX','Downward Heat Flux','W/m^2',10,1,7,0,3,4,101,0 | ||
| 'SSU',2,'Cu' , 'bilinear' , 'SSV' , 'Cv','UOGRD','U-Component of Current','m/s',10,1,7,0,1,2,101,0 | ||
| 'SSV',2,'Cv' , 'bilinear' , 'SSU' , 'Cu','VOGRD','V-Component of Current','m/s',10,1,7,0,1,3,101,0 | ||
| 'taux',2,'Cu' , 'conserve' , 'tauy' , 'Cv','XCOMPSS','x-component Surface Stress','N/m^2',10,1,7,0,3,7,101,0 | ||
| 'tauy',2,'Cv' , 'conserve' , 'taux' , 'Cu','YCOMPSS','y-component Surface Stress','N/m^2',10,1,7,0,3,7,101,0 | ||
| 'tob', 2,'Ct' , 'bilinear' , '', '','WTMP','Ocean Bottom Water Temperature','K',10,1,7,0,3,0,9,0 | ||
| 'temp',3,'Ct' , 'bilinear' , '', '','WTMP','Water Temperature','K',10,1,7,0,3,0,160,0 | ||
| 'so',3,'Ct' , 'bilinear' , '', '','SALIN','3-D Salinity','psu',10,0,7,1,4,193,160,0 | ||
| 'uo',3,'Cu' , 'bilinear' , 'vo' , 'Cv','UOGRD','U-Component of Current','m/s',10,1,7,0,1,2,160,0 | ||
| 'vo',3,'Cv' , 'bilinear' , 'uo' , 'Cu','VOGRD','V-Component of Current','m/s',10,1,7,0,1,3,160,0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,5 +7,6 @@ maskvar='temp' | |
| sinvar='sin_rot' | ||
| cosvar='cos_rot' | ||
| angvar='' | ||
| grib2=.true. | ||
| debug=.false. | ||
| / | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| build | ||
| install | ||
| .vscode | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,16 @@ | ||
| list(APPEND fortran_src | ||
| arrays_mod.F90 | ||
| init_mod.F90 | ||
| arrays_mod.F90 | ||
| utils_mod.F90 | ||
| masking_mod.F90 | ||
| ocnicepost.F90 | ||
| utils_mod.F90 | ||
|
|
||
| ) | ||
|
|
||
| set(exe_name ocnicepost.x) | ||
| add_executable(${exe_name} ${fortran_src}) | ||
| target_link_libraries(${exe_name} PRIVATE NetCDF::NetCDF_Fortran) | ||
| target_link_libraries(${exe_name} PRIVATE NetCDF::NetCDF_Fortran | ||
| g2::g2_d | ||
| bacio::bacio_4) | ||
|
|
||
| install(TARGETS ${exe_name} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.