hapi-server / server-java

Java-based server which works with Java-based web servers like Tomcat
Apache License 2.0
0 stars 1 forks source link

CDAWeb issue with virtual variables and master OMNI2_H0_MRG1HR #35

Open jbfaden opened 6 months ago

jbfaden commented 6 months ago

The CDAWeb support doesn't check the masters to see if virtual variables exist in the master file. For example, in Autoplot

vap+hapi:http://localhost:8080/HapiServer/hapi?id=OMNI2_H0_MRG1HR&parameters=Time,ABS_B1800&timerange=1998-09-06+through+2024-05-09

doesn't work because ABS_B1800 is a virtual variable which is resolved by looking in the master. Instead the code doesn't think it's virtual and doesn't find the variable.

jbfaden commented 6 months ago

There's a list of all the virtual variables, virtualVariables.txt, which did not have OMNI2_H0_MRG1HR listed as a virtual variable. This caused the problem.