Earthcube Geosemantics
  1. Earthcube Geosemantics

bmi-flask

Public
AuthorCommitMessageCommit dateIssues
Peishi JIANGPeishi JIANG
d3125eadd8cRevised the README file; Replaced os.sep with / in bmi_ws.py file; Revised BMI_base.py met_base.py
Peishi JIANGPeishi JIANG
5ddbd01b2fdRevised the component_repository.xml file
Peishi JIANGPeishi JIANG
c5fb55e8787Revised the test code.
Peishi JIANGPeishi JIANG
549f1ca003brevised README.md
Peishi JIANGPeishi JIANG
ec6d3ccc61brevised README.md
Peishi JIANGPeishi JIANG
96a54018392- added the execution right for bmiflask.py
Peishi JIANGPeishi JIANG
8df466c3c9cadded topoflow_driver_inputs.ttl
Peishi JIANGPeishi JIANG
44bdd96118frevised the models whose spatial file outputs were duplicated.
Peishi JIANGPeishi JIANG
7b085104d5f- added flow direction (d8) variable names to the models- added connections between d8 direction and models' internal names - revised model graph by assuming the grid size of models with d8 direction as zero
Peishi JIANGPeishi JIANG
e259148d5b6ready to be connected with RAS and EMELI-Web
Peishi JIANGPeishi JIANG
979f6b97cd3-ready for running one-model (data-model integration)
Peishi JIANGPeishi JIANG
7d863921c29- fixed a bug of showing units of evaporation priestley-taylor model
Peishi JIANGPeishi JIANG
44f6b81f615revised Priestley Taylor component to a standalone component
Peishi JIANGPeishi JIANG
c833a091568- added the missing component files
Peishi JIANGPeishi JIANG
dec6512b66c- revised the components names for each model .py file- revised the rdf triples
Peishi JIANGPeishi JIANG
56426efadb5the previous push is incorrect.
Peishi JIANGPeishi JIANG
5a0d710cced- changed the URL of returning information about the REST APIs- revised the RDF triples of configuration variables: + CSN is used in string + model config var is not used
Peishi JIANGPeishi JIANG
96afdfd2981added an introduction page of REST APIs of BMI-enabled web service models
Peishi JIANGPeishi JIANG
b042122ee99revised the rdf triples for the config vars in terms of the file types
Peishi JIANGPeishi JIANG
39fddd9fdad- generated the rdf triples for other TopoFlow components- revised channels_diffusive_method, infil_richard_1d and ice_base components to make them running succesfully
Peishi JIANGPeishi JIANG
48024dcd896revised a bit based on the previous commit.
Peishi JIANGPeishi JIANG
c654289dbb9- included two functions in BMI_base.py: (1) get_config_var_names(); (2) get_config_var_filetype();- implemented the two functions in met_base and channel_base component - revised the rdf fields of the input_requirement endpoints - implemented the revised version on met_base component
Peishi JIANGPeishi JIANG
09a83a6d958Update requirements.txt
Peishi JIANGPeishi JIANG
9960d90c42d- added 'temp' to the prefixes of "bmi_model" and "csn"- revised BMI_base.py file by allowing getting the value type of variables without initializing models
Peishi JIANGPeishi JIANG
509ca8c7fb5- revised the files in rdf to make them clear
Peishi JIANGPeishi JIANG
440ca43ef71- revised the name of generate_users_input_features_from_bmi_in_rdf.py
Peishi JIANGPeishi JIANG
828f7e93230- revised the name of get_users_input_from_bmi_in_rdf.py
Peishi JIANGPeishi JIANG
a07ec6e7367- revised the TYPO in bmiflask.py
Peishi JIANGPeishi JIANG
266c535b7b1- included an example of model inputs features in rdf triples- added an endpoint to expose the .ttl file
Peishi JIANGPeishi JIANG
c536830eb3e- revise component_repository.xml
Peishi JIANGPeishi JIANG
7ef713204db+ add a new endpoint working to check whether the services of a model is working
Peishi JIANGPeishi JIANG
75f2f3cabb3- include the temporal properties of the meteorology model in met_base.ttl by using time ontology in owl.
Peishi JIANGPeishi JIANG
d0e4f8552f3- add the model features of the met_base model in N3 format- create a new endpoint ("get_features") to obtain the model features in N3 format in bmiflask.py
Peishi JIANGPeishi JIANG
0a3e7bf893c- revise bmi_ws.py and bmiflask.py to allow models' current_time & DONE information provided by the response of the initialization, update and finalize calls.
Peishi JIANGPeishi JIANG
db92980b2e9little revisions
Peishi JIANGPeishi JIANG
1553764eced- The objective of this revision is to reduce web latency through the following changes: 1. the output of a model is only saved in temp folder in service part and returned to EMELI when it is required for other models at current time. 2. the current time and DONE information is retrieved from web service call instead of from the .nc file since at only some time points the .nc file is obtained by EMELI
Peishi JIANGPeishi JIANG
ab11e7af9afrevised a little bit
Peishi JIANGPeishi JIANG
06ea6c08fdeDelete Trenyor test.
Peishi JIANGPeishi JIANG
ecf071ce8b1Add missing files 2.
Peishi JIANGPeishi JIANG
42e2da35109revise .gitignore file
Peishi JIANGPeishi JIANG
aa71d93cef1+ Revise Topoflow components to enable it consuming GeoTIFF files.+ Add unit conversion utility. + Add spatial interpolation utility. + Provide two test on Owl watersheds.
Peishi JIANGPeishi JIANG
7d4a040c611clean bmiflask.py and bmi_ws.py
Peishi JIANGPeishi JIANG
640a37b6890+ Revise bmiflask.py, bmi_ws.py to allow multiple users being able to use the web service model simultaneously and independently: - add a /models/<model>/instantiate service to create an instance of bmi model by assigning it with a unique ID and return the ID back to the EMELI - revise the remaining web service URIs by requiring the ID information each time a user uses the model remotely - create a folder for each bmi model instance with the I...
Ben1897Ben1897
bfaa8f0c55a+ Revise bmiflask.py, bmi_ws.py and emeli2.py by reducing the unnecessary variables stored in the temporal .nc files. This is done by introducing or revising: - /models/<model>/set_vars_provided_list url in both bmiflask.py and bmi_ws.py - save_vars_provided_in_nc() method in bmiflask.py by only saving the var_provided variables - inform_comp_vars_provided() method in emeli2.py
Ben1897Ben1897
80edfb23f15clean the bmiflask.py
Ben1897Ben1897
726835fa324Revise the bmiflask.py, bmi_ws.py and emeli2.py by enabing a functionality such that - a .nc file will be generated after the initialization - a .nc file will be generated after the update at each timestep - a .nc file will be generated after the model finalization - a .nc file will be generated after all the required values of a component are obtained from other components at each timestep - all the above .nc files are transferred betwee...
Ben1897Ben1897
8e3e8aaa413remove the unwanted component_repository files
Ben1897Ben1897
2be61b42f76- Revise the class bmi_ws in EMELI to speed up EMELI's integration: - obtaining the inputs, outputs and attributes when an instance of the class is created - generating the time property and the mode status when the model is initialized - moving the class into a new script bmi_ws.py
Ben1897Ben1897
f82dba2ccf9remove the .pyc files
Ben1897Ben1897
53876829033add another file