Replies: 7 comments
-
This is not currently possible using the batch script. The complication is that the batch processing was set up to run multiple cases (matrix of tests) and the logs for each case are placed in a folder with a name based on its run number. If you wanted to have a custom name for each run, this would require the addition of an input list of filenames for every case. An undocumented feature of the main launch file
The tricky one is the
and of course there's a typo in the description of input parameter for
And, the output file could be placed in a specific folder by the arguments:
The pblog node was designed to produce csv log files exactly like the physical buoy, so those are currently generated by timestamp. |
Beta Was this translation helpful? Give feedback.
-
I'm happy to work with you to make your QoL easier. Please, let me know if the above doesn't work for you. |
Beta Was this translation helpful? Give feedback.
-
We also have a set of matlab scripts for post-processing that I'm partway through porting to python. We have talked about making those accessible. We've taken care of much of the file crawling overhead there. |
Beta Was this translation helpful? Give feedback.
-
As it is, @andermi is working on the Python side, and I'm working on the Matlab/Octave side of the post-processing. All I need to do is clean things up a bit to include in the repository, I will do this asap if it's likely to be helpful (I think it will be for Matlab users). |
Beta Was this translation helpful? Give feedback.
-
Thanks @andermi and @hamilton8415. It's not creating a large difficulty, but would definitely make cases easier to keep track of instead of having to reference the batch_log. @andermi, instead of the batch we can manually input parameters, good to know. But doing so this way would only allow you to run one case at a time, right? You also stated that one could include an input list of filenames for every case. Are you referring to when running simulations using the batch file? |
Beta Was this translation helpful? Give feedback.
-
Correct.
No, the quotations are only escaping the special characters.
Yes, one case at a time.
Something like this would have to be added to the code, but yes, for the batch. |
Beta Was this translation helpful? Give feedback.
-
will allow you to specify parameters in a vectorized mode rather than matrix ( In this way, you could know the parameters by the run number (as an index to each parameter array). |
Beta Was this translation helpful? Give feedback.
-
Hi, where are the output file names determined in the code? Is it possible to change to a custom name or using variables defined in the startup batch file?
I'm looking to find a way to change this before a simulation so that instead of defaulting to e.g. batch_results_20230228210735/results_run_0_20230301200627/pblog/results_run_0_20230301200627.csv
it could be, e.g.:
batch_amp1_per6_results/amp1_per6_results/pblog/amp1_per6_results.csv
?
Would just make it easier to sort through when post-processing later
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions