Skip to content

Commit

Permalink
Atualizando links na documentação e atualizando notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
cfbastarz committed Dec 5, 2023
1 parent 821ce2a commit bd303a3
Show file tree
Hide file tree
Showing 5 changed files with 206 additions and 162 deletions.
2 changes: 1 addition & 1 deletion docs/en/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The following python modules are optional and can be loaded in case the user wan

!!! info "Info"

In the repository, there is a script called [`plot_functions.py`](https://github.com/GAD-DIMNT-CPTEC/GSIBerror/blob/main/plot_functions.py) where some auxiliary ploting functions are implemented to use along with the `Berror` class. See an example of its usage in the notebook [`read_gsi_berror_python-class-final-BCPTEC_hyb_coord.ipynb`](https://github.com/GAD-DIMNT-CPTEC/GSIBerror/blob/main/notebooks/read_gsi_berror_python-class-final-BCPTEC_hyb_coord.ipynb).
In the repository, there is a script called [`plot_functions.py`](https://github.com/GAD-DIMNT-CPTEC/GSIBerror/blob/main/gsiberror/plot_functions.py) where some auxiliary ploting functions are implemented to use along with the `Berror` class. See an example of its usage in the notebook [`read_gsi_berror_python-class-final-BCPTEC_hyb_coord.ipynb`](https://github.com/GAD-DIMNT-CPTEC/GSIBerror/blob/main/notebooks/read_gsi_berror_python-class-final-BCPTEC_hyb_coord.ipynb).

## Defining the covariance files

Expand Down
2 changes: 1 addition & 1 deletion docs/pt/uso.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Os módulos a seguir são opcionais e podem ser carregados caso o usuário queir

!!! info "Observação"

No repositório, há o script [`plot_functions.py`](https://github.com/GAD-DIMNT-CPTEC/GSIBerror/blob/main/plot_functions.py) onde estão implementadas algumas funções de plotagem auxiliares para a utilização com a classe `Berror`. Veja um exemplo da sua utilização no notebook [`read_gsi_berror_python-class-final-BCPTEC_hyb_coord.ipynb`](https://github.com/GAD-DIMNT-CPTEC/GSIBerror/blob/main/notebooks/read_gsi_berror_python-class-final-BCPTEC_hyb_coord.ipynb).
No repositório, há o script [`plot_functions.py`](https://github.com/GAD-DIMNT-CPTEC/GSIBerror/blob/main/gsiberror/plot_functions.py) onde estão implementadas algumas funções de plotagem auxiliares para a utilização com a classe `Berror`. Veja um exemplo da sua utilização no notebook [`read_gsi_berror_python-class-final-BCPTEC_hyb_coord.ipynb`](https://github.com/GAD-DIMNT-CPTEC/GSIBerror/blob/main/notebooks/read_gsi_berror_python-class-final-BCPTEC_hyb_coord.ipynb).


## Definição dos arquivos de covariâncias
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
"metadata": {},
"outputs": [],
"source": [
"# Uncomment next line to use in Google Colab\n",
"#!pip install GSIBerror\n",
"\n",
"import gsiberror as gb\n",
"\n",
"import os\n",
"#import plot_functions as pf\n",
"\n",
"%matplotlib inline"
]
Expand All @@ -20,6 +22,11 @@
"metadata": {},
"outputs": [],
"source": [
"# If you are in Google Colab, use:\n",
"#!wget http://ftp1.cptec.inpe.br/pesquisa/das/carlos.bastarz/GSIBerror/data/bcptec_bam_352pairs_gsir4.berror_stats.fix.oz.cw.tsm.gcv\n",
"#!wget http://ftp1.cptec.inpe.br/pesquisa/das/carlos.bastarz/GSIBerror/data/global_berror.l64y386.f77-ncep-dtc.gcv\n",
"#path = './'\n",
"# If you are running Jupyter locally, use:\n",
"path = '../data'\n",
"\n",
"filenames = {\n",
Expand Down Expand Up @@ -443,7 +450,7 @@
"lmatrix = [matrix[0], matrix[2]]\n",
"\n",
"for var in Vars:\n",
" gb.plot_vscales(lmatrix, var, eqrange=False, suptitle=True, savefig=True)"
" gb.plot_vscales(lmatrix, var, eqrange=False, suptitle=True, savefig=False)"
]
},
{
Expand Down
Loading

0 comments on commit bd303a3

Please sign in to comment.