Conda/Micromamba The easiest way to export a .yml file from a conda environment is to first activate your environment by running: 1conda activate myvenv And then run the following command that generated your .yml file 2024-03-02 Linux #conda #Micromamba
bashrc If you spend a lot of time on the command line, chances are that you’ll want to customize your shell environment. This can mean creating aliases, adding a new directory to the $PATH , or changing the 2024-03-02 Linux #bashrc
vim | vimrc .vimrc setup 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 2023-10-20 Linux #HPC #vim #editor
HKO station and analysis Download HKO weather dataset From i-lens.hk 香港自動氣象站氣候觀測資料庫 12345678910export yyyy=2023export mm=04for dd in {14..16}; do wget http://i-lens.hk/hkweather/history_minute_record/${yyyy& 2023-06-24 NWP #WRF #MPAS #HKO #obs
Jupyter-Notebook How to display full output in Jupyter, not only last result? 12from IPython.core.interactiveshell import InteractiveShellInteractiveShell.ast_node_interactivity = "all" Sample plot 123456789 2023-06-24 Jupyter #Jupyter #python
Removing PDF protected mode Removing PDF usage restrictions, view qpdf, 12$ sudo apt install qpdf$ qpdf --decrypt restricted-input.pdf unrestricted-output.pdf 2023-06-24 Linux #PDF
WRF | WPS geo data and binary tile files Binary files in the geog folder The file naming convention is described on slides 14 and 15 of the Advanced Usage of the WPS tutorial presentation. If you have any additional questions about the file 2023-06-24 WRF #WRF #WPS #MPAS #tile files
WRF | WRF-extraction-station 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210 2023-06-24 WRF #NWP #Jupyter
netCDF operator (nco, cdo) ncrename - netCDF Renamer Options > -a old_name, new_name Attribute renaming. The old and new names of the attribute are specified by the associated old_name and new_name values. Global attributes 2023-06-24 NWP #WRF #MPAS #netcdf #nco #cdo
Approximate Metric Equivalents for Degrees, Minutes, and Seconds Approximate Metric Equivalents for Degrees, Minutes, and Seconds At the equator for longitude and for latitude anywhere, the following approximations are valid: 1234567891011121314151617181920211° = 1 2023-06-24 NWP #WRF #MPAS