search for: wdir

Displaying 12 results from an estimated 12 matches for "wdir".

Did you mean: dir
2009 Aug 20
3
[PATCH ovirt-node-image] fixes for edit-livecd
Patch set fixes issues with image size increase when using edit-livecd Also address issue with ext4 root fs
2009 Aug 03
0
[PATCH node-image] Fix edit-livecd to re-create ext2 filesystem each time
...e=$3 + local output_dir=$4 + local size_mb=$5 + + local size= + if [[ -n "$size_mb" ]]; then + size=$(( $size_mb * 1024 )) + fi + + echo ">>> Mounting old ext3fs" + mnt "-t ext2 $input_file -o ro,loop" $input_dir + ext_used=$(df $WDIR/$input_dir | tail -1 | awk '{print $3}') + ext_max=$(df $WDIR/$input_dir | tail -1 | awk '{print $2}') + + echo ">>> $input_file max_size=$ext_max current_size=$ext_used" + + local new_size= + if [[ -z "$size" ]]; then + new_size=$ext_...
2009 Nov 10
2
[RFC][PATCH] ovirt-node-image : edit-livecd : fail on error in arbitrary code
Purpose : fail iso build on encountering error in arbitrary code '$CODE' 1. export 'WDIR' , for 'CODE' to pick-up location to create 'fail' file to indicate failure, note that it may not always be possible to return some error code on failure in 'CODE' 2. 'set' commands enclosing 'CODE' will not be required 3. 'CODE' is expec...
2005 Jun 17
3
Bandwidth monitoring tool
Hi. I am trying to shape my upstream bandwidth, mostly per port. and I am having some problems getting things to work the way I want them to. before I throw my configuration at you guys ;), I`d like to debug it by myself - but I was not able to find a tool that allow me to monitor current bandwidth usage per port (and preferably even per port+ip). I want to know what is the current bandwidth
2005 Feb 11
1
NA's in if statement
Hello, I am having trouble dealing with NA values in if statements such as: i<-1 for(i in 1:length(dat$wdir)){ if (dat$wspd[i]==0){ dat$wdir[i]<-0 } } I get the following error due to the presence of NS values in the data: Error in if (dat$wspd[i] == 0) { : missing value where TRUE/FALSE needed Sorry if this is an old question but I was unable to resolve this from the info on na.action etc. or old a...
2009 Sep 22
1
[PATCH] edit-livecd in python
...n - *[^a-zA-Z0-9._,+:/@%=-]*) false;; - *) true;; - esac -} - -# Fail if names we'll use contain white space or shell meta-characters -sane_name "$PWD" || die "invalid working directory name: $PWD" -sane_name "$CD" || die "invalid ISO name: $CD" - -WDIR=`mktemp -d $PWD/livecd.XXXXXXXXXX` - -addExit() { - EXIT="$@ ; $EXIT" - trap "$EXIT" EXIT HUP TERM INT QUIT -} - -mnt() { - local margs="$1" ; shift - local mp="$WDIR/$1" - for D in "$@" ; do - mkdir -v -p "$WDIR/$D"...
2009 Oct 14
4
Refactor ovirt-node-image code base for inclusion in Fedora
Main reason for refactor is no ovirt-node-image binary image allowed in fedora. Removed ks files, now in ovirt-node-recipe, which is subpackage of ovirt-node. Removed tools, these are now in ovirt-node-recipe which is subpackage of ovirt-node.
2009 Oct 14
8
Refactor ovirt-node code base for inclusion in Fedora
Main reason for refactor is no ovirt-node-image binary image allowed in fedora. Moves tools and kickstart files form ovirt-node-image to subpackage ovirt-node-recipe. Removes old sub packages form ovirt-node, stateless, logos, selinux. Modifies init scripts to meet Fedora packaging guidelines: added status, reload, and lockfile, rhbz: 514221 Added License file.
2009 Jul 03
0
windrose (circular package) odd table and windrose plot
..."0.3-8" Computing a table and plotting a windrose with windrose I have odd (to me) results: in the table data referred to some wind direction are missing the frequency plotted in the windrose are different from those indicated in the table some wind magnitudes are missing in the table wdir <- rep(seq(0,135,45),10) # 4 directions 0,45,90,135 degrees wmag <- rep(c(10,5,2,1),10) # constant mag for each direction: 10,5,2,1 t <- windrose(circular(wdir,units='degrees',template='geographics'),wmag,increment=1) > t$table [0, 30) [30, 60) [60, 90) [90, 120)...
2012 Aug 03
5
replacement has length zero. In addition: Warning message: In max(i) : no non-missing arguments to max; returning -Inf
...t"), tzone = "", index = structure(c(1217564520, 1217566320, 1217568120, 1217569980, 1217571720, 1217573520, 1217575320, 1217577120, 1217578920, 1217580720), tzone = "", tclass = c("POSIXct", "POSIXt")), .Dim = c(10L, 13L), .Dimnames = list(NULL, c("WDIR", "WSPD", "GST", "WVHT", "DPD", "APD", "MWD", "PRES", "ATMP", "WTMP", "DEWP", "VIS", "TIDE"))) I tried to copy some fields from this data to another data. I got error. Could...
2007 Sep 03
1
Snow on Windows Cluster
...pdrive <- as.logical(mapdrive && !is.null(remotepath)) Rscript=system.file("slaveload.R", package="snow") arg <- c(Rscript, R.home(), workdrive, getwd(),worktmp, tmpdir, localhost, mapdrive, remotepath) #Rscript,R_HOME,WDrive,WDir,WorkTmp,TmpDir,Master,MapDrive,RemotePath print("super") count<-mpi.comm.spawn( slave=system.file("Rslaves.bat", package="Rmpi"), slavearg=arg, nslaves=count) } else{ # for unix count <- mpi.comm.spawn(slave = "/usr/bin/...
2006 Jan 26
3
Calling a SOAP service from within a Rails controller
...*3600) ender = starter + 7 * 24 *3600 lat = 40.352039 lon = -74.191961 require ''soap/wsdlDriver'' params = {:maxt => false, :mint => false, :temp => true, :dew => false, :pop12 => false, :qpf => false, :sky => false, :snow => false, :wspd => false, :wdir => false, :wx => false, :waveh => false, :icons => false, :rh => false, :appt => true} wsdl = "http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl" drv = SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver drv.wiredump_dev = STDOUT if $DEBUG dwml = drv.NDFD...