earthcubeprojects-chords / chords

EarthCube CHORDS application code
GNU General Public License v2.0
25 stars 13 forks source link

High number of points for brand new instrument #535

Closed daniels303 closed 5 years ago

daniels303 commented 5 years ago

Paul created a couple brand new instruments in his 3D PAWS instance (UND-3D-PAWS_01, UND-3D-PAWS_02, UND-3D-PAWS_03 and UND-3D-PAWS_04) and, for some reason, they are already reporting millions of measurements. See the end of this page:

http://3d.chordsrt.com/instruments

Also, this appears to have resulted in the fact that no time series measurements are being plotted (see http://3d.chordsrt.com/instruments/43) and downloading GeoJSON results in:

"{"errors":["FAIL: Requested number of data points exceeds that allowed. Requested: 253700 Allowed: 100000"]}"

CrazyCatProgrammer commented 5 years ago

I increased the number of download points in the configuration and removed a two of the of the non working instruments (UND-3D-PAWS_03 and UND-3D-PAWS_04) . I also removed the wind variables on UND-3D-PAWS_01 since they looked to be the ones adding data every second. This seems to have fixed the data download issue. The plotting is working it just takes a very long time to load since there is so much data. I think adding a sleep function in their code would help prevent overwhelming their portal with data.