Closed AreWeDreaming closed 1 year ago
It works for load_omas_h5
. I guess saving edge_profiles
for d3d is not implemented and, therefore, it throws an error.
@AreWeDreaming you may need to add
"edge_profiles.profiles_1d.:": {
"VALUE": 0
},
to the https://github.com/gafusion/omas/blob/master/omas/machine_mappings/d3d.json
As a side, if you are using .open()
you must also always .close()
. The best way to ensure that is by using a with
statement.
Ok, I'll try that tomorrow. What happens when I don't close?
You keep many MDS+ connections or file descriptor files open
Do those expire eventually? I have been using open
without close
a lot.
MDS will only handle 8 connections (i think) and then start closing automatically, which may leave you with ODSs not able to retrieve data. Open files can be a lot depending on configuration of your system, but you cannot write to a file that is open elsewhere for read.
Stale issue message
I found a bug that essentially stops you from writing anything to
profiles_1d
in theedge_profiles
IDS.This script produces the error:
Notably, if you do not use
ods.open
it does work. Alsocore_profiles.profiles_1d
works just fine either way. I will test ifload_omas_h5
also produces this issue and update this issue.