-
Notifications
You must be signed in to change notification settings - Fork 136
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
Ascii io #706
Merged
Merged
Ascii io #706
Conversation
This file contains 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
GFDL-Eric
requested review from
bensonr,
rem1776,
thomas-robinson and
wrongkindofdoctor
as code owners
March 11, 2021 18:14
Honestly no, and in truth this test could use some fleshing out (right now
it's basically there to test if the read crashes, not to ensure that the
read successfully "read" the file).
…On Fri, Mar 12, 2021 at 10:25 AM Jess ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In test_fms/fms2_io/test_read_ascii_file.F90
<#706 (comment)>:
> +program test_read_ascii_file
+
+ use mpp_mod, only : mpp_init
+ use mpp_mod, only : mpp_error, FATAL, NOTE
+ use fms2_io_mod, only : fms2_io_init, ascii_read
+
+ character(len=:), dimension(:), allocatable :: test_array !< Content array
+ character(len=256) :: filename !< Name of ascii file to be read
+ character(len=256) :: filename2 !< Name of alternative ascii file to be read
+ character(len=256) :: line !< Content of a line of the read ascii file
+ integer :: num_lines !< Number of lines in the ascii file
+ integer :: stat !< IOSTATUS from the read method
+ integer, allocatable :: cur_pelist(:) !< PELIST is read into this variable
+ integer :: ierr !< used by MPI_FINALIZE
+
+! namelist /test_read_ascii_file_nml/ test_numb
Is there a reason to keep the commented-out tests?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#706 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3MSXPNFTJDHZTXBQB3MCLTDIP5XANCNFSM4ZAYVUDA>
.
|
thomas-robinson
requested changes
Mar 12, 2021
uramirez8707
requested changes
Mar 12, 2021
…est things, made parse_mask_table public in fms2_io, edited test_io_with_mask to work with new parse_mask_table call
rem1776
previously approved these changes
Mar 17, 2021
…ascii routine to properly fail if answers aren't read in correctly.
wrongkindofdoctor
previously approved these changes
Mar 18, 2021
rem1776
previously approved these changes
Mar 19, 2021
GFDL-Eric
dismissed stale reviews from rem1776 and wrongkindofdoctor
via
March 22, 2021 15:01
72f06af
GFDL-Eric
commented
Mar 22, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure how to resolve the "change requested" issue?
uramirez8707
previously approved these changes
Mar 22, 2021
@GFDL-Eric That should go away once Tom reviews it again |
rem1776
previously approved these changes
Mar 22, 2021
bensonr
previously approved these changes
Mar 22, 2021
wrongkindofdoctor
previously approved these changes
Mar 22, 2021
thomas-robinson
previously approved these changes
Mar 24, 2021
rem1776
dismissed stale reviews from thomas-robinson, wrongkindofdoctor, bensonr, uramirez8707, and themself
via
March 26, 2021 15:13
a85eca0
rem1776
approved these changes
Mar 26, 2021
thomas-robinson
approved these changes
Mar 26, 2021
wrongkindofdoctor
approved these changes
Mar 26, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Implementation of the ascii_read routine in fms2_io. This requires the transfer of several routines from mpp_io ans fms_io to fms2_io. Also includes a change in data_override to account for this movement.
Fixes lack of fms2_io ascii_io routines
How Has This Been Tested?
Includes a sample test of the routine, further testing when the suite of models is tested.
Checklist:
make distcheck
passes