Skip to content

Python implementation of glacier-snowmelt runoff model

Notifications You must be signed in to change notification settings

ccalvocm/Demo-SRM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo SRM

Transferencia de modelos

Requisitos:

Puerto 443 abierto
OS Windows

Instalación sin permisos de administrador (Windows 10):

  1. Abrir una ventana de Windows PowerShell (Ctrl+x y persionar Windows Powershell)
  2. Copiar y pegar el siguiente código en la ventana de Windows Powershell:
Set-ExecutionPolicy Bypass -Scope Process -Force; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Set-ExecutionPolicy Bypass -Scope Process -Force; $InstallDir=Join-Path $HOME -ChildPath "\chocoportable"; $env:ChocolateyInstall="$InstallDir"; $ErrorActionPreference = 'SilentlyContinue'; Remove-Item $InstallDir -Recurse -Force; Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')); $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User"); choco install git.commandline -yfd; $sh = New-Object -ComObject "Wscript.Shell"; choco install miniconda3 --params="'/AddToPath:1 /RegisterPython=1 /InstallationType:JustMe'" -y -f; $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User"); Remove-Item .\Demo-SRM\ -Recurse -Force; git clone --depth=1 https://github.com/ccalvocm/Demo-SRM.git; conda env create -n pySRM python=3.8 --file .\Demo-SRM\pySRM_win.yaml --force; $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User"); $WshShell = New-Object -comObject WScript.Shell; $Shortcut = $WshShell.CreateShortcut([Environment]::GetFolderPath("Desktop")+"\CNR-SRM.lnk"); $Shortcut.TargetPath = "$HOME\Demo-SRM\CNR-SRM_safe.exe"; $Shortcut.WorkingDirectory = "$HOME\Demo-SRM"; $Shortcut.Save(); $WshShell = New-Object -comObject WScript.Shell; $Shortcut = $WshShell.CreateShortcut([Environment]::GetFolderPath("Desktop")+"\Actualizar_SRM.lnk"); $Shortcut.TargetPath = "$HOME\Demo-SRM\Actualizar_SRM_safe.exe"; $Shortcut.WorkingDirectory = "$HOME\Demo-SRM"; $Shortcut.Save(); $WshShell = New-Object -comObject WScript.Shell; $Shortcut = $WshShell.CreateShortcut([Environment]::GetFolderPath("Desktop")+"\interfaz_clima_GEE.lnk"); $Shortcut.TargetPath = "$HOME\Demo-SRM\interfaz_clima_GEE_safe.exe"; $Shortcut.WorkingDirectory = "$HOME\Demo-SRM"; $Shortcut.Save(); start .\Demo-SRM; mshta "about:<script>alert('SRM instalado exitosamente, acceso directo creado en escritorio.');close()</script>"
  1. Abrir el explorador de windows (tecla Windows + E), ubicar su carpeta de usuario (usualmente C:\Usuarios\SuNombredeUsuario), abrir la carpeta "Demo-SRM" y hacer doble click en el archivo CNR-SRM_safe.exe

Actualización:

  1. Navegar a la carpeta Demo-SRM
  2. Presionar "Actualizar_SRM_safe.exe"

Ejecución Interfaz del modelo SRM:

  1. Navegar a la carpeta Demo-SRM
  2. Presionar "CNR-SRM_safe.exe"

Ejecución de la herramienta de descarga de clima

  1. Navegar a la carpeta Demo-SRM
  2. Presionar "interfaz_clima_GEE_safe.exe"

Desinstalación:

  1. Entrar a la carpeta Demo-SRM
  2. Presionar "Desinstalar_SRM_safe.exe"

Video tutorial de instalación:

Watch the video

Video tutorial de ejecución:

Watch the video

Guía y manual de usuario:

https://github.com/ccalvocm/Demo-SRM/blob/main/Manual_SRM/SRM_Manual_Usuario.pdf

Contacto:

About

Python implementation of glacier-snowmelt runoff model

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published