Scalar name (point data) undefined when using Calculator filter in Anaconda Prompt

Could you post some more of your script? I’m confused because in some places you have p but other places you mention pressure. Are you using the variable names consistently in the script?