NRC-Research / SNAP-issues

This repository was created to provide a public location to record and display the status of "issues" for the SNAP application. The SNAP developers will acknowledge, provide (and maybe request) feedback on the reported issues, and in general use the information to improve SNAP code.
3 stars 0 forks source link

SNAP 4.1.0 (Windows 10): cannot set interactive variable in Animator model #41

Closed fmax85 closed 11 months ago

fmax85 commented 1 year ago

Hi all, I noticed that when I define interactive control blocks in a TRACE model and I copy/paste them into an Animator model, sometimes I cannot modify the values during an interactive simulation. I managed to narrow down the issue (at least, a part of it) to the name of the variable. Basically, if the TRACE interactive variable name contains a capital letter and the control block is copied and pasted directly into the Animator model, the variable name gets passed as fully lower case (see attached figures), thus it fails to modify the value if attempted during an interactive simulation. I am not aware of other characters that get modified in the copy/paste between the TRACE and Animator models.

Hope it may be of help.

-- Fabio

intervar_trace_model intervar_animator

NRCgg commented 1 year ago

Thanks for the report @fmax85 !

WDunsford commented 11 months ago

This issue is resolved for TRACE Plug-in version 4.6.0. The variable name is now converted to lower case when pasted into an animation view.