ARPA-SIMC / dballe

Fast on-disk database for meteorological observed and forecast data.
Other
19 stars 6 forks source link

usage of idba_quantesono (or its replacement idba_query_stations) #261

Open cmarsigli opened 3 years ago

cmarsigli commented 3 years ago

I was using idba_quantesono to get the number of station or pseudostations (identified as central point of a box) contained in a database. In my code I am still using idba_quantesono, but now I am wondering if its behaviour has changed. If in the database there are no "real stations" but only pseudostations, the call to idba_quantesono yelds count=0. If instead in the database I have both stations and pseudostations, count is a number >0. I am not sure that before this was different, since usually I have never had only pseudostations in a database.

spanezz commented 3 years ago

Hi. What is the difference between a station and a pseudostation?

Can you somehow give me access to a database where I can try to reproduce the issue?

cmarsigli commented 3 years ago

A station is a real weather station point (where there is an instrument measuring something), a pseudostation is for me the central point of a model box, so a couple of lat lon coordinates not corresponding to any real measuring station. Database access: I am working on the database sapone,  

spanezz commented 3 years ago

@pat1 @dcesari could you help me understand in terms of dballe's data model?