You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
There is a bug in surfplots if ground stations and model have the same variable named. The bug is caused because monet changes the name by adding "new", whereas the pairing tool in melodies-monet tool.py utility (mobile_and_ground_pair) uses directly pandas merge_asof, which in that case changes the name by adding _x, _y, etc.
Then, the plotting tool looks for the variable "_new", which does not exist.
Probably the easiest fix is adding _new to repeated variables, and sticking to the MONET method, although I tend to think that the pandas way of dealing with it is probably better.
What do you think, @zmoon ?
Cheers
Pablo
The text was updated successfully, but these errors were encountered:
@blychs this could likely be done in your pandas merge with suffixes=(None, '_new') (which is how monet combinetool does it too). Depending on context of course, I do like the approach of only adding a suffix to the "new" column.
Hi all,
There is a bug in surfplots if ground stations and model have the same variable named. The bug is caused because monet changes the name by adding "new", whereas the pairing tool in melodies-monet tool.py utility (mobile_and_ground_pair) uses directly pandas merge_asof, which in that case changes the name by adding _x, _y, etc.
Then, the plotting tool looks for the variable "_new", which does not exist.
Probably the easiest fix is adding _new to repeated variables, and sticking to the MONET method, although I tend to think that the pandas way of dealing with it is probably better.
What do you think, @zmoon ?
Cheers
Pablo
The text was updated successfully, but these errors were encountered: