Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Ever Daniel Barreto everdaniel

🏠
Working from home
View GitHub Profile
View Highcharts Cheat Sheet.js
$('#container').highcharts({
chart: {
alignTicks: true, // When using multiple axis, the ticks of two or more opposite axes will automatically be aligned by adding ticks to the axis or axes with the least ticks.
animation: true, // Set the overall animation for all chart updating. Animation can be disabled throughout the chart by setting it to false here.
backgroundColor: '#FFF', // The background color or gradient for the outer chart area.
borderColor: '#4572A7', // The color of the outer chart border.
borderRadius: 5, // The corner radius of the outer chart border. In export, the radius defaults to 0. Defaults to 5.
borderWidth: 0, // The pixel width of the outer chart border.
className: null, // A CSS class name to apply to the charts container div, allowing unique CSS styling for each chart.
defaultSeriesType: 'line', // Alias of type.
@everdaniel
everdaniel / install_wrf41.sh
Created Feb 24, 2021 — forked from jamal919/install_wrf41.sh
WRF 4.1.2 installation with netCDF4, HDF5 in ubuntu 18.04 LTS
View install_wrf41.sh
#!/bin/bash
## WRF installation with parallel process.
# Download and install required library and data files for WRF.
# License: LGPL
# Jamal Khan <jamal.khan@legos.obs-mip.fr>
# Tested in Ubuntu 18.04 LTS
# basic package managment
sudo apt update
sudo apt upgrade
View CMAQ_ASU_OCEAN.csh
#!/bin/csh -f
# m3fake script to create a dummy ocean file
setenv GRIDDESC /root/CMAQ-5.2.1/data/CMAQ-ASU1K/cctm_input/GRIDDESC
setenv GRID_NAME CMAQ-ASU1K
setenv OUTFILE /root/ocean_file.dummy.$GRID_NAME.ncf
/root/ioapi-3.2/Linux2_x86_64/m3fake << EOF
2
$GRID_NAME
View run_cctm.csh
#!/bin/csh -f
# ==================== CCTMv5.2.1 Run Script ========================
# Usage: run.cctm >&! cctm_v52b.log &
#
# To report problems or request help with this script/program:
# http://www.epa.gov/cmaq (EPA CMAQ Website)
# http://www.cmascenter.org (CMAS Website)
# ===================================================================
View CMAQ_ASU_OCEAN.log
root@ubuntu-s-2vcpu-4gb-nyc3-01:~/CMAQ-5.2.1/data/CMAQ-ASU1K/cctm_input/land# ./CMAQ_ASU_OCEAN.csh
This program uses the EPA-AREAL/MCNC-EnvPgms/BAMS Models-3
I/O Applications Programming Interface, [I/O API] which is
built on top of the netCDF I/O library (Copyright 1993, 1996
University Corporation for Atmospheric Research/Unidata
Program) and the PVM parallel-programming library (from
Oak Ridge National Laboratory). Copyright (C) 1992-2002 MCNC,
(C) 1992-2013 Carlie J. Coats, Jr., and (C) 2003-2012 Baron
Advanced Meteorological Systems, LLC and released under the
View CMAQ_ASU_OCEAN.csh
#!/bin/csh -f
# m3fake script to create a dummy ocean file
setenv GRIDDESC /root/CMAQ-5.2.1/data/CMAQ-ASU1K/cctm_input/GRIDDESC
setenv GRID_NAME CMAQ-ASU1K
setenv OUTFILE /root/CMAQ-5.2.1/data/CMAQ-ASU1K/cctm_input/land/ocean_file.dummy.$GRID_NAME.ncf
/opt/model/ioapi/Linux2_x86_64/m3fake << EOF
@everdaniel
everdaniel / config_cmaq.csh
Created Sep 10, 2018
CMAQ 5.2.1 CCTM runtime error
View config_cmaq.csh
#!/bin/csh -f
# ================= CMAQv5.2.1 Configuration Script ================= #
# Requirements: I/O API & netCDF libraries #
# PGI, Intel, or Gnu Fortran compiler #
# MPICH for multiprocessor computing #
# Optional: Git for GitHub source code repository #
# #
# Note that this script was configured/tested on Red Hat Linux O/S #
# #
View dominio2.txt
File 1 : OUTPUT FROM WRF V3.8.1 MODEL
Descriptor: dominio2.ctl
Binary: dominio2.dat
Type = Gridded
Xsize = 84 Ysize = 84 Zsize = 19 Tsize = 17 Esize = 1
Number of Variables = 112
xlat 1 0 LATITUDE, SOUTH IS NEGATIVE (degree_north)
xlong 1 0 LONGITUDE, WEST IS NEGATIVE (degree_east)
lu_index 1 0 LAND USE CATEGORY (-)
var_sso 1 0 variance of subgrid-scale orography (m2)
View dominio2.txt
File "dominio2.nc"
File type: NetCDF-3/CDM
netcdf file:/Users/everdaniel/Downloads/salidaswrf/dominio2.nc {
dimensions:
time = UNLIMITED; // (17 currently)
lon = 84;
lat = 84;
lev = 1;
@everdaniel
everdaniel / WRF_example.ipynb
Created Aug 6, 2016 — forked from darothen/WRF_example.ipynb
Simple WRF analysis/plotting examples
View WRF_example.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.