With large numbers of PFTs the model2netcdf.ED2() line in job.sh would get cut off. This is because deparse() has a default line width cutoff and would then split the output into multiple lines. I've replaced it with deparse1() which always produces a character vector of length 1.
Motivation and Context
The model2netcdf.ed2() step was failing for runs with more than a few PFTs
Review Time Estimate
[ ] Immediately
[ ] Within one week
[ ] When possible
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[ ] My change requires a change to the documentation.
Description
With large numbers of PFTs the
model2netcdf.ED2()
line in job.sh would get cut off. This is becausedeparse()
has a default line width cutoff and would then split the output into multiple lines. I've replaced it withdeparse1()
which always produces a character vector of length 1.Motivation and Context
The model2netcdf.ed2() step was failing for runs with more than a few PFTs
Review Time Estimate
Types of changes
Checklist: