Opened 6 years ago
Last modified 4 years ago
#205 accepted Defect
Output format for trajectories.txt — at Initial Version
Reported by: | ahilboll | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | FLEXPART 10 |
Component: | FP post-processing | Version: | FLEXPART 10.2 |
Keywords: | Cc: |
Description
We noticed that the output format in the trajectories.txt file is not optimal. We had the situation that, in backward mode with long simulation times, the -NNNNNNN was so long that there was no space separating the first and second columns any more (for late time steps).
It would be good if the output format could be changed to accomodate long simulations.
I believe that the necessary change is in plumetraj.f90, in line 235., by applying this change:
modified src/plumetraj.f90 @@ -232,7 +232,7 @@ subroutine plumetraj(itime) ! Write out results in trajectory data file !****************************************** - write(unitouttraj,'(i5,i8,2f9.4,4f8.1,f8.2,4f8.1,3f6.1,& + write(unitouttraj,'(i5,i9,2f9.4,4f8.1,f8.2,4f8.1,3f6.1,& &5(2f8.3,f7.0,f6.1,f8.1))')& &j,itime-(ireleasestart(j)+ireleaseend(j))/2, & xcenter,ycenter,zcenter,topocenter,hmixcenter,tropocenter, &
I'm happy to solve this myself - how should I contribute back? Via a patch against git master? Or should I create (am I allowed to do that?) my own branch in Git and you do the merging? Or do you just want to implement that one-character change yourself?
This seems to still be in git master. However, I cannot choose git master as "Version" when reporting this issue. What would be the most convenient thing to do to make it easy for you?