You’re specifying the output field separator, not the input field separator; use this instead:
varioutput=$(awk -F, '{print $j}' data/damper.test_temp1.csv) (or set FS instead of OFS).
I’m also assuming that j is a placeholder above, and that you’re replacing it statically with the appropriate value (for example, print $4).
To use another variable from script, you must pass it to awk
e.g. for RANK variable in shell
varioutput=$(awk -F, -v j=$RANK '{print $j}' data/damper.test_temp1.csv) Generally speaking, if you start using AWK for small pieces of a script as in this example, it’s better to use AWK for more of the script.