Changeset 1192


Ignore:
Timestamp:
Mar 2, 2022 10:36:56 AM (9 months ago)
Author:
ilavsky
Message:

Fix IP8 issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/User Procedures/Indra 2/IN3_BlueSkyReader.ipf

    r1191 r1192  
    468468        variable endTimeSec = startTimeSec + NumOfHours*60*60
    469469        string TempAddress = ServerAddress+"/node/search/"
    470         TempAddress +=StringFromList(0, ListOfCatalogs)+"?page[offset]=00&page[limit]=1000&filter[time_range][condition][since]="+num2str(startTimeSec, "%.15g")+"&filter[time_range][condition][until]="+num2str(endTimeSec, "%.15g")+"&sort=time"
     470        string StartTimeStr, EndTimeStr
     471        sprintf StartTimeStr, "%.15g" ,startTimeSec
     472        sprintf EndTimeStr, "%.15g" ,endTimeSec
     473       
     474        TempAddress +=StringFromList(0, ListOfCatalogs)+"?page[offset]=00&page[limit]=1000&filter[time_range][condition][since]="+StartTimeStr+"&filter[time_range][condition][until]="+EndTimeStr+"&sort=time"
     475        //this fails on IP8:
     476        //TempAddress +=StringFromList(0, ListOfCatalogs)+"?page[offset]=00&page[limit]=1000&filter[time_range][condition][since]="+num2str(startTimeSec, "%.15g")+"&filter[time_range][condition][until]="+num2str(endTimeSec, "%.15g")+"&sort=time"
    471477        // defqault pagse limit is 100 -  page[offset]=0&page[limit]=1000 loads first 1000 scans.
    472478        JSONXOP_Parse(FetchURL(TempAddress))
Note: See TracChangeset for help on using the changeset viewer.