CURENT / agvis

Geo-visualization for energy system
https://ltb.curent.org
GNU General Public License v3.0
7 stars 5 forks source link

Package #20

Closed jinningwang closed 1 year ago

jinningwang commented 1 year ago

Package in python

jinningwang commented 1 year ago

Hello Nicholas,

I did some preparation to package it in python, including the version information.

The cli usage includes: agvis and agvis run --host 127.0.0.1 --port 8810

Would you mind maybe including more useful cli commands? We can have a command to load a layer: agvis run --host 127.0.0.1 --port 8810 --case wecc.xlsx, and one command to use the independent data reader agvis run --case wecc.xlsx --data wecc_out.xlsx.

What do you think about this?

Regards, Jinning

nparsly commented 1 year ago

Hello Jinning,

Unfortunately, so far as I'm aware, there is no way to load client-side files into a browser program without the user's direct input in the browser. This safeguard exists to prevent websites from being able to access anything on your computer from accessing things without your express permission. As such, I don't think any additional command line arguments need to be added.

Regards,

Nicholas