Passing user defined parameters to an UDF

I tried both ways

scf_test.download(base_path + os.sep + 'scf_test.nc')

or through a batch job

scf_test = scf_test.save_result(format='netCDF')
job = scf_test.create_job(title='scf_binary')
job.start_job()
results = job.get_results()
results.download_files('scf_bin.nc')

anyway I always get the same