Displaying 11 results from an estimated 11 matches for "ncdump".
2007 Jul 03
0
(no subject)
...t=NetCDF3&coverage=
> AGssta&Vertical=.0&time=2006-01-06T00:00:00Z&bbox=220,20,250,50",
> destfile="junk.nc")
>
on my Mac downloads a netcdf file, which I can open just fine using
the ncdf package, and displays just fine using the netcdf utility
"ncdump -h"
The same command under Windows downloads a file with that name and
with the correct size. A cmp on the two files says there are
differences, and using a hex editor confirms this. The file produces
a simple error when using "open.ncdf" and in fact the ncdump utility
pr...
2013 Jan 15
1
Using system() to dump HDF to text file?
Hi all --
I am working on 64-bit Windows XP. I'm not a very technical person when it
comes to the command line stuff, so please forgive me if this is a stupid
question.
I have a bunch of HDF files, and I want to dump a single PM25 data layer
from each file to .txt by invoking ncdump.exe from system(). Here's a
sample command string:
"C:/ncdump -v PM25 C:/01aug2010.hdf > C:/01aug2010.txt"
This works perfectly in Python, but does not actually generate the .txt
file in R when:
system(command)
It does show the output on the console, if flagged to do so, and I...
2012 Jan 05
1
[ncdf] programmatically copying a netCDF file
...and complex
* the examples above hand-craft their output files
So I'm wondering, can anyone point me to, or provide, code that copies
a netCDF file both
* completely: all coordinate variables, all data variables and their
attributes, and all global attributes, such that
$ diff -wB <( ncdump -h source.nc ) <( ncdump -h target.nc ) | wc -l
0
* programmatically: no or minimal hand-coding of, e.g., attribute
names and values, missing-value value.
? If not, can this be done in principle, or are there steps that must
(at least currently) necessarily be hand-coded?
TIA, Tom Roche <...
2013 Jan 29
2
Netcdf and Raster Package Questions, Need .asc File for GIS
...ile with code and images for reference)
*_Objective_***- read netcdf file and create .asc file to read into GIS
*_Questions:_*
1) using the raster package how can I set the projection, extent, and
cell size properly.Here are the dimensions and global attributes of the
netcdf file, I used "ncdump -h "
dimensions:
lon = 4200 ;
lat = 2400 ;
time = UNLIMITED ; // (1 currently)
rainf_profiles = 1 ;
tair_profiles = 1 ;
global attributes:
:missing_value = -9999.f ;
:TITLE = "LIS land surface model output" ;
:MAP_PROJECTION = "EQUIDISTANT CYLINDRICAL" ;
:SOUTH_W...
2011 Jul 29
5
HIRHAM netcdf files
Can someone help me out with a "small" problem?
I've started using netcdf files recently, and I want to extract the grid id
and also the coordinates from a HIRHAM netcdf file.
I know how to extract a slice of dataset both in space and in time and I
also know the area that this file should cover, however I have no idea
regarding the reference for both LAT/LON and RLAT/RLON.
I tried
2012 Aug 28
4
[ncdf4] error converting GEIA data to netCDF
...2OOC90Y.1A
+ display the data (mostly successfully--the map's legend has problems
which I'll attack later)
https://github.com/downloads/TomRoche/GEIA_to_netCDF/output.1.png
+ create a netCDF file using the data read from the GEIA file. (At
least, after nc_sync(netcdf.file), the file `ncdump -h`s properly.)
However, I can only *put* the data to the netCDF file:
> ncvar_put(
> + nc=netcdf.file,
> + varid=emis.var,
> + vals=t(global.emis.mx),
> + start=c(1, 1, 1),
> + count=c(-1,-1, 1)) # -1 -> all data
When I try to *pull* the data *from* the netCDF I created,
&...
2011 May 06
1
read a netcdf file _Fill_value=-32768
Hello
I am a new user of R .
and I ve problem with R and netcdf .
I succed installation , I could use all examples .
But when I take my netcf it is different .
I want to do statistic on this kind of file .
1)
first calculate mean .
my data is like that
through ncdump -h test.nc
netcdf test {
dimensions:
lat = 301 ;
lon = 401 ;
time = UNLIMITED ; // (80 currently)
variables:
float lat(lat) ;
lat:long_name = "latitude" ;
lat:standard_name = "latitude" ;
lat:units...
2009 May 18
1
Read.table problems
Dear all,
I have a file which I've converted from NetCDF (.nc) to text (.txt) using ncdump in Unix (as I had problems using the ncdf package to do this). The first few rows (as copied and pasted from the Unix console) of the file appear as follows:
_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _,
_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _,...
2002 Dec 09
2
netcdf
Hello,
I have been having difficulties opening netcdf files using the netcdf
library. I am able to successfully open the file and I can determine the
names and size. However, when I try to read it I receive an error.
Reading the documentation, I am wondering if this might be due to a
difference between netcdf version 2 and more recent netcdf format? I've
tried using different values for the
2012 Mar 27
0
I can't open a .nc file with the "cdfcont" function of the clim.pact package
Hello,
I am new at using R.
I would like to use the following functions of the "clim.pact" package:
ncdfcont and retrieve.nc
I have installed the package "clim.pact" in Rstudio.
I have downloaded the "ncdf pack" from unicar (including ncdump and ncgen).
The ncdf file I'm working on is called "essai2.nc"
Here is what I get, when I type the command ncinfo <- cdfcont("essai2.nc")
ncinfo cdfcont.txt' renvoie un statut 1
2: In min(nchar(str)) : aucun argument trouv? pour min ; Inf est renvoy?
I'...
2007 Oct 18
5
vector graphics/ ungroup and edit in CorelDraw
System:
Linux kernel 2.6.15 Ubuntu dapper
R version 2.5.1
ESS 5.2.11 on Emacs 21.4.1
-------------------------
Colleagues
Having read the posts on producing perfect graphs in R, or using
inkscape to edit R graphics output, I have a related question.
Lately I am publishing in a journal that is very picky about their
graphics formats. It is more efficient for me to get the final picky
details