Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Source: [India Meteorological Department (IMD)](https://mausam.imd.gov.in/imd_latest/contents/districtwise-warning.php) | |
- Districts https://mausam.imd.gov.in/imd_latest/contents/district_shapefiles/sd_boundary_rainfall.json | |
- Subdivisions https://mausam.imd.gov.in/imd_latest/contents/district_shapefiles/sd_boundary.json | |
- License: Unknown | |
- Data quality: 675 districts, so maybe from 2015-2018. Shapefile accuracy is 1-5kms | |
## Cleanup | |
- The district shape has been joined with properties from the subdivision shape | |
- Names have been correcte to title case |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## CD JAIL TRAP | |
## store this bash script into /etc/profile/trapjail.sh and add "source /etc/profile/trapjail.sh" in user's .bashrc file | |
## Author: Arulalan.T <arulalant@gmail.com> | |
## 08-May-2020 | |
## Purpose: User gets trap into particular top level directory path. | |
## User allowed traverse inside "top level directory's sub directories, but nothing else" | |
## here we can change the trap top level directory path length. | |
## if it is 4, then once user entered "cd /home/arulalan/Downloads/test" then they will be trapped forever within that directory only. They can not come outside that directory. | |
## this is useful for conducting classes for mutiple person but login into single user mode. |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy | |
def getOverlap(a, b): | |
""" | |
Inputs : a, b are lists of input values | |
Returns : Return numpy.ma array with values common or overlap between a and b. | |
If common is not found among a and b, then that indecies values | |
will be masked. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arulalan@arulalan-desktop:/usr/local/uvcdat/2.0.beta/bin$ ./uvcdat | |
Generic Warning: In /home/doutriaux1/build_2.0.beta/build/VTK/Rendering/OpenGL/vtkOpenGLPolyDataMapper.cxx, line 69 | |
vtkOpenGLPolyDataMapper::vtkOpenGLPolyDataMapper was deprecated for VTK 6.2 and will be removed in a future version. | |
Warning: In /home/doutriaux1/build_2.0.beta/build/VTK/Common/Math/vtkFastNumericConversion.cxx, line 60 | |
vtkFastNumericConversion (0x5f01690): Class vtkFastNumericConversion was depecated for VTK 6.0 and will be removed in a future version. | |
Generic Warning: In /home/doutriaux1/build_2.0.beta/build/VTK/Rendering/OpenGL/vtkOpenGLPolyDataMapper.cxx, line 69 | |
vtkOpenGLPolyDataMapper::vtkOpenGLPolyDataMapper was deprecated for VTK 6.2 and will be removed in a future version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arulalan@arulalan-desktop:/usr/local/uvcdat/2.0.beta/bin$ ./python | |
Python 2.7.7 (default, Jul 24 2014, 08:18:52) | |
[GCC 4.8.2] on linux2 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import cdms2 | |
>>> import vcs | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
File "/usr/local/uvcdat/2.0.beta/lib/python2.7/site-packages/vcs/__init__.py", line 30, in <module> | |
from utils import * |