Open soroushojagh opened 2 years ago
Yes, this is important - several related topics:
I don't have answers for either of these questions - but they pertain to the design of the web app and making it as awesome an experience for people as possible. I know we had some discussions on this and I don't want to answer the questions because I think I may have missed some of these discussions. My opinions are: 'make it simple so users have a fun experience and get hooked for life'. The hooked will be able to justify the effort to install and learn the intricacies of parameters - but successfully getting from choosing a few parameters to getting an answer with no errors is such a delicate and important few minutes and worth the effort to get it right.
Thanks @tbarchyn for the quick response,
To answer your questions:
The first step for me is getting a solid understanding of the hierarchies of parameters in form of JSON file formats. And, that's the reason why I am asking for the JSON format of Input parameters. I think it would be very valuable to enrich the User Manual document with some JSON samples. I mean some ready-to-use sample JSON files for typical scenarios.
These are good questions. The full canonical hierarchy should be here for the global level, program level, and method level:
https://github.com/IM3S/LDAR_Sim/tree/master/LDAR_Sim/src/default_parameters
@KeeganShaw-GIS @tarcadius - do you have a default set of simulations that should be the 'default' simulation that users who first arrive at the web app should run. Ideally it is satisfying to the users.
@tbarchyn @soroushojagh
Thank you @tbarchyn and @KeeganShaw-GIS,
Using with Yaml files are even easier than working with JSON files. However, this would be supper complicated to understand and implement hierarchies in the backend DB and especially when users are going to have their own output files (considering the situation that different users are running the simulation and different input and output folders need to be created and all dependencies in the hierarchy need to be kept in the DB). Complicated!!!!
For this reason, I need to see JSON input files for at least two scenarios to clarify how to model the dependency in order to avoid any misinterpretation in the output files or saving modified parameters for future uses.
Preparing JSON files would help me a lot because without that I am pretty sure that outputs won't be error free.
Thanks.
Hi @soroushojagh - do you want to meet on this? Or make sure it is on agenda for this week IM3S meeting @KeeganShaw-GIS ? Whichever you prefer.
I would like to ensure you are satisfied and have precisely what you need by the end of this week so you don't get delayed in any way.
Hi @tbarchyn - I think you made a great suggestion to have a meeting. Then, I can prepare some scenarios in advance and while you are running the LDAR-Sim for those scenarios, I can capture the screen.
I am available for a meeting tomorrow afternoon from 1 pm to 6 pm. Please feel free to set a time or suggest your available slots at your convenience.
I will try to send you scenarios in advance so that you can prepare input files accordingly. @tbarchyn
Sure, I sent a teams invite for tomorrow afternoon.
Hi @tbarchyn: These are scenarios that I need to see how you run the LDAR-Sim per each one:
However, I am not able to find either YAML or JSON input files for all of them. Here are those defined in the Simulation folder of our repository: Also, the names of programs are different.
Consider the situation that the user selected 10 as the number of simulations for the P_base, and also 2 as the number of simulations for the P_count. Is this a valid query that needs to be run by the LDAR-Sim? If yes, please run it.
Same situation as question number 4, adding a different numbers of Processes and simulations the P_base and also the P_count. Is this a valid query that needs to be run by the LDAR-Sim? If yes, please run it.
How to run the LDAR-Sim with more alternative programs? Please run the LDAR-Sim with the following programs:
Is there any max number for the alternative programs? For example, is the user allowed to add a ref program with all the rest 9 as the alternative programs?
Is there any limitation to selecting the reference program? For example, can the user select P_sat as the reference program and 4 others like P_base, P_dev_OGI, P_truck, and P_ref as the alternative programs? If yes, please run the LDAR-Sim.
Thank you!
@soroushojagh @tbarchyn I think I can answer a few of those questions,
I am waiting to receive YAML files for all the programs and methods that we are going to run in LDAR_Sim. I need these files ASAP because I require to design the DB again according to existing input programs and methods.
I was wondering if you can prioritize this request. Thank you all. @tbarchyn @tarcadius @KeeganShaw-GIS @AkaMrmuffin
Hi all,
For the input parameter, I need some samples, especially in JSON format.
Based on what I read in the "User manual", LDAR-Sim will accept JSON file format.
I am however a little confused and stuck at this stage due to not having a clear understanding of input parameters. Please help me prepare some sample parameter files in JSON format so that I can figure out how to implement it in Celery.
I think preparing some JSON based on different scenarios would be enough. As an example, I want to run LDAR-Sim with:
Thank you!