-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BLOCKED: plot together diffeerent methods with same typeID #83
Comments
Hi Elisabetta, You can plot multiple methods for a single typeID with a url such as Does that help? |
hi @rumachan , thanks for your reply!!! But...sorry to say that it is not working for me unfortunately! If I plot but I think I've found why it's not working... typeID=e has 2 methods associated: I might be confused, but I think the bernese data shouldn't have been overwritten by gamit ones , that have a different methodID in the json file. Am I missing something here? |
Hi @elidana It must depend on exactly how --delete-first operates. I believe yo always use that with your uploads. Delete all existing first and then upload the data in the CSV files without checking if they already exist in FITS. I would say we want it to work the way you describe, but maybe it doesn't. I'll try a test data set later and let you know |
Hi @rumachan , yes, you're right. I need to use the --delete-first option when I do the upload.
But, given that the associated json file is different between the bernese and gamit time series, I was assuming that both data can exist at the same time in the database. I don't need this to happen, so is not a major issue not having both, I was just curious to know how it works! (and might come handy to have the possibility to have different methods associated to the same type?) How do you deal with your "z" type, for example? Or maybe I'm doing something wrong with my json files?
|
I loaded some test data (temperature with one methodID). I then loaded some data for the same time intervals (three temperature values) at the same siteID, same typeID, but different methodID, and I used --delete-first for the second upload. Result - the first data I loaded were overwritten, despite the different methoID. If I do it without --delete-first, it works the way you expected. I think this is something we should discuss with @gclitheroe if we want it to work the way you expected. Your json file looks fine to me. |
many thanks for testing it! To avoid confusion in the plot, I'll now reupload gamit tseries with the --delete-first option, so that the bernese timeseries will not show up in the graph with the same color as the gamit ones. Soooo......I can change my request in this ticket with a 'would be nice to have if someone is really bored' new feature: if a given typeID has more than one methodID associated with it (and data are existing in the database?) then the plot will automatically switch to use different colour for each method, maybe something like ... ...if that makes any sense |
BLOCKED (at least for GPS/GNSS time series) , same reason as in #82 (comment) |
Hi,
how can I select what method I want to plot (or download), if a typeID has more than one method associated to it? See, e.g.:
http://fits.geonet.org.nz/method?typeID=e
For example, if I want to plot/download
typeID=e&methodID=bernese5
, and compare it totypeID=e&methodID=gamit/globk
, is there a way to do that?I've tried a few combination of url including the method/methodID but can't find the correct parameter combination, and don't find it in the FITS API page.
This question is coming after some discussion here #82
Is there any equivalent for other Low-frequency data types?
thanks
The text was updated successfully, but these errors were encountered: