Comments (11)
If you aggregate on networks, you will have the result for all the networks.
If you want to see the statistics for each network, you need to remove the network from the "aggregate_on" parameter, which would give:
What would you like a format text to look like ?
from eida-statistics.
Ok my fault about the network agregation
format issue:
csv is fine for me as a simple choice BUT in the builder, when I choose format Text/csv then the url has ...&format-=text instead of csv and does not work
from eida-statistics.
OK, nice catch, this is a bug. @vpet98 will fix it.
from eida-statistics.
Thank you for the note,
Bug is fixed on main branch. Needs to be deployed again I suppose.
from eida-statistics.
@vpet98
if the value of format is not supported, the webservice should reply a better error message.
For now, it says if format=text
:
http "http://ws-staging.resif.fr/eidaws/statistics/1/dataselect/query?start=2022-01&end=2022-02&aggregate_on=month,datacenter,country,network,station,location,channel&format=text"
HTTP/1.1 400 BAD REQUEST
content-length: 48
content-type: text/plain
date: Tue, 24 Jan 2023 14:50:43 GMT
BAD REQUEST: invalid value of parameter 'format'
could you fix it ?
from eida-statistics.
Yes, I can, but what we would like to reply in this case? Maybe print the wrong value as well?
from eida-statistics.
something like "Unsupported value for parameter format." would do, I guess ?
from eida-statistics.
Done!
from eida-statistics.
Not fixed yet!
still when in query form I click format text/csv then the url given has "&format=text" instead of "&format=csv"
from eida-statistics.
The code is fixed. New version is not deployed yet. I suppose it will be deployed soon together with some other fixes which are in progress.
from eida-statistics.
Fix deployed.
Thank you @vpet98
from eida-statistics.
Related Issues (20)
- Starttime mandatory
- Group all statistics regarding restricted networks in "Other" HOT 5
- Replace datacenter and network management API with an information method HOT 2
- Implement a caching system HOT 2
- Add more functional tests HOT 1
- Write some behavioural tests
- Having openapi spec file served on the right protocol (https) HOT 2
- eida_statsman : add interface to manage networks and nodes policy HOT 2
- A simple method to get nodes and networks HOT 3
- Layout of the documentation HOT 2
- Sort CSV output HOT 1
- Extra information at the top of CSV format HOT 3
- eidastats_man manage authorizations HOT 1
- Permission error on table dataselect_stats problem is not reported to client HOT 1
- inconsistency in clients cardinality. HOT 8
- Webservice: accept JWT authentication
- Strange distribution of data from some nodes. HOT 1
- Sentry: set DSN by environment variable HOT 5
- Internal 500 errors HOT 5
- Pyramid-openapi3 dependency HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eida-statistics.