- 博客(11)
- 收藏
- 关注
原创 fotran常用命令
OPEN(2,FILE="……")READ(2,*)A,B,C表示从代号为2的文件中以默认的方式(后面的“*”表示默认的方式/格式)来依次读取三个值赋给变量A,B,C。
2014-09-11 10:58:45 774
转载 动态添加和删除crontab
其实说白了很简单,就是新建一个文件 。然后把计算任务 写进去。执行完了或者有修改的地方就删除它。然后再crontab 执行下而已1.添加:echo "1 * * * * /home/test" >> /user/crontabfile2.删除:sed -i '/test/d' /user/crontabfile3.然后 crontab /user/crontabfile 就行了.
2014-09-09 11:14:32 1734
原创 Pgf90编译器安装时遇到的gcc问题及解决方法
Pgf90编译器安装时遇到的gcc问题及解决方法。[root@SecAir209 read-grd-example]# pgf90 read_wrflatlon.f90/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/4.4.6/crtbegin.o: No such file: No such file or directory查询目录/us
2014-09-05 15:14:50 1113
原创 服务器间跳转及数据输出命令
服务器间跳转及数据输出命令。[root@SecAir209bin]# ssh root@172.16.1.67Lastlogin: Thu Jul 17 10:04:36 2014 from secair209[root@secair2~]# sftproot@172.16.1.59Connectingto 172.16.1.59...sftp>cd/home/cmaq
2014-09-05 15:13:11 1079
转载 【zz】ncl useful command
maskMasks a multi-dimensional array against another given a single mask value.http://www.ncl.ucar.edu/Document/Functions/Built-in/mask.shtml
2014-09-04 10:05:01 633
转载 【zz】ncl绘制气温分布图(完整的例子和详细的命令介绍)
这里几点说明:1.ncl不支持中文显示,所有文字都是英文,但是支持很多样式的字体,参考网址http://www.ncl.ucar.edu/Document/Graphics/font_tables.shtml2.图下方的labelbar只能在图的周围,不能放置在图内。要想显示图下方的图例,就要使用legend而不是labelbar了。使用NCL脚本绘制一张如上图所示的png图片主要分为
2014-09-02 16:09:41 35384 4
转载 【zz】ncl画散点图(with markers of different colors and sizes)
http://www.ncl.ucar.edu/Applications/scatter.shtml
2014-09-02 15:36:49 8380 1
转载 【zz】ncl画南非地图(地理库中的geographical areas)
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"begin;; Generate an ny x nx array of random data with a minimum of -10 and a;
2014-09-02 14:53:09 2096
原创 linux--shift命令part1(可变控制输入参数)
#!/bin/bash##################################################################until [ $# -eq 0 ]doecho "first: $1 number: $#"echo "$@"shiftdone########执行语句为:./x_shift.sh 1 7 5 4
2014-08-22 15:18:50 492
原创 linux--shift命令part2(可变控制输入参数)
#!/bin/bash#用until和shift命令计算所有命令行参数的和./shift2.sh 10 20 15result:45###################################################################################################if [ $# -eq 0 ]
2014-08-22 15:18:44 407
原创 linux--判断是否有--包含特定字符串的文件名
#/bin/csh#source /home/cmaq/.cshrc#if ( -e '*gfs-*' ) then#if ( -e "gfs*" ) thenset file = `ls gfs*`echo $fileecho ${#file} #lengthecho $file[${#file}] #last fileif ( -e
2014-08-22 13:54:35 1928
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人