-
Notifications
You must be signed in to change notification settings - Fork 216
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
Tab characters should be removed from strings in streams files #862
Comments
This just caused some scientists a few days of lost time... we should try to fix it for the cesm2 release. |
This should be fixed in the next CIME tag that gets brought in. |
Tony, if you could take this one on, given your expertise in the shr_stream code, that would be great. |
@apcraig has this been addressed? If not please reopen in esmci. |
clm.buildnml scripts now sends -mask to build-namelist script. This generates land namelist with correct finidat value when there are multiple land-ocean masks (e.g. gx1v6 and oEC60to30) for a single land grid (e.g. ne30np4). This change requires that all new land-ocean masks must be added in components/clm/bld/namelist_files/namelist_definition_clm4_5.xml Fixes #861 [NML]
I haven't tested to verify this is still a problem, but it looks like See https://software.intel.com/en-us/forums/archived-visual-fortran-read-only/topic/314044 for some possible implementations that address this. |
add ability to remove tabs in shr_string_lalign Removal of tabs from strings in stream files Test suite: scripts_regression_tests also manual verification that if tabs were introduced in a streams text file (e.g. datm.streams.txt.CORE2_NYF.GISS) then the resulting data model behaved correctly Test baseline: Test namelist changes: Test status: bit for bit Fixes #862 User interface changes?: None Code review:sacks, edwards,
Convert all tabs to spaces in data model stream txt files Test suite: scripts_regression_tests also manual verification that if tabs were introduced in a streams text file (e.g. datm.streams.txt.CORE2_NYF.GISS) then the resulting data model behaved correctly Test baseline: Test namelist changes: Test status: bit for bit Fixes #862 User interface changes?: None Code review: billsacks
Wednesday Jul 29, 2015 at 22:27 GMT
Originally opened as CESM-Development#72
From a Bugzilla issue from Bill Sacks:
A user ran into a problem when editing a streams file (
dlnd.streams.txt.sno.cplhist
): there were some tab characters in the file both before and after some strings. It looks like these tab characters are not stripped from the strings (e.g., usingshr_string_leftAlign
). This led to an error that looked like this in the lnd log file:Since tabbing is a natural thing to do when editing text files, it seems it would be good to extend the
shr_string
utilities to strip tabs as well as spaces.The text was updated successfully, but these errors were encountered: