Menu

#2479 need to initialize cdaweb when scripting

nextrelease
open-fixed
nobody
None
5
2022-10-03
2022-10-03
No

It looks like if you run a scrip that loads data from cdaweb, it does not initialize properly.

== Executing Script ==
error: Traceback (innermost last):
File "density_variation.jy", line 1, in ?
at org.autoplot.cdaweb.CDAWebDB.getNaming(CDAWebDB.java:457)
at org.autoplot.cdaweb.CDAWebDB.getMasterFile(CDAWebDB.java:681)
at org.autoplot.cdaweb.CDAWebDataSource.getMetadata(CDAWebDataSource.java:480)
at org.autoplot.cdaweb.CDAWebDataSource.getDataSet(CDAWebDataSource.java:201)
at org.autoplot.jythonsupport.Util.getDataSet(Util.java:273)
at org.autoplot.jythonsupport.Util.getDataSet(Util.java:536)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)

java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: document has not been read, refresh must be called first

Discussion

  • Jeremy Faden

    Jeremy Faden - 2022-10-03

    I reverted the logic where this step wasn't done. The problem is that some datasets can use the web services and work fine with the optimization from a month ago, while others don't. This doesn't:

    vap+cdaweb:ds=RBSP-A_DENSITY_EMFISIS-L4&filter=rbsp&id=density&timerange=2017-12-05

     
  • Jeremy Faden

    Jeremy Faden - 2022-10-03
    • status: open --> open-fixed
     
MongoDB Logo MongoDB