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

add 4d integer reading subroutine to formatter #1838

Merged
merged 3 commits into from
Dec 2, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Added subrioutines reading 4d integers in Netcdf4_Fileformater

### Fixed

### Removed
Expand Down
8 changes: 8 additions & 0 deletions pfio/NetCDF4_FileFormatter.F90
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ module pFIO_NetCDF4_FileFormatterMod
procedure :: ___SUB(get_var,int32,1)
procedure :: ___SUB(get_var,int32,2)
procedure :: ___SUB(get_var,int32,3)
procedure :: ___SUB(get_var,int32,4)
procedure :: ___SUB(get_var,int64,0)
procedure :: ___SUB(get_var,int64,1)
procedure :: ___SUB(get_var,int64,2)
Expand All @@ -65,6 +66,7 @@ module pFIO_NetCDF4_FileFormatterMod
procedure :: ___SUB(put_var,int32,1)
procedure :: ___SUB(put_var,int32,2)
procedure :: ___SUB(put_var,int32,3)
procedure :: ___SUB(put_var,int32,4)
procedure :: ___SUB(put_var,int64,0)
procedure :: ___SUB(put_var,int64,1)
procedure :: ___SUB(put_var,int64,2)
Expand All @@ -86,6 +88,7 @@ module pFIO_NetCDF4_FileFormatterMod
generic :: get_var => ___SUB(get_var,int32,1)
generic :: get_var => ___SUB(get_var,int32,2)
generic :: get_var => ___SUB(get_var,int32,3)
generic :: get_var => ___SUB(get_var,int32,4)
generic :: get_var => ___SUB(get_var,int64,0)
generic :: get_var => ___SUB(get_var,int64,1)
generic :: get_var => ___SUB(get_var,int64,2)
Expand All @@ -106,6 +109,7 @@ module pFIO_NetCDF4_FileFormatterMod
generic :: put_var => ___SUB(put_var,int32,1)
generic :: put_var => ___SUB(put_var,int32,2)
generic :: put_var => ___SUB(put_var,int32,3)
generic :: put_var => ___SUB(put_var,int32,4)
generic :: put_var => ___SUB(put_var,int64,0)
generic :: put_var => ___SUB(put_var,int64,1)
generic :: put_var => ___SUB(put_var,int64,2)
Expand Down Expand Up @@ -1196,6 +1200,10 @@ end subroutine inq_variables
# include "NetCDF4_get_var.H"
# include "NetCDF4_put_var.H"
# undef _RANK
# define _RANK 4
# include "NetCDF4_get_var.H"
# include "NetCDF4_put_var.H"
# undef _RANK
#undef _VARTYPE

! INT64
Expand Down