John

MathWorks

Active since 2011

Followers: 0   Following: 0

Message

Statistics

All
  • Personal Best Downloads Level 2
  • Knowledgeable Level 3
  • 5-Star Galaxy Level 3
  • First Submission
  • 6 Month Streak
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Submitted


HDF5TOOLS
Versatile HDF5 Utilities

8 years ago | 37 downloads |

Answered
Creating an HDF5 dataset
The HDF5 high level routines H5CREATE and H5WRITE will not allow compound datasets (struct), so you would need to do the low lev...

9 years ago | 0

Answered
dimensions of opened NetCDF files
When you shell out to run ncdump, you are running a C executable that is linked into the netcdf library. Since it is written in...

12 years ago | 2

| accepted

Answered
dimensions of opened NetCDF files
Hi Christoph, The "ncload" function referred to is part of the "netcdf toolbox", which is a very old and unsupported piece of...

12 years ago | 1

Answered
Problem in creating netcdf
Hi Dee, you are using the "netcdf toolbox" to create your netcdf file, which isn't MathWorks-supported software. It's not suppo...

12 years ago | 0

Answered
Nccreate and Ncwrite Questions
NCREAD, NCWRITE, and NCCREATE were introduced in R2011a. You can do one of two things. You could look at trying the low-leve...

12 years ago | 0

| accepted

Answered
problem with netCDF handling
The mode string you want is 'NOWRITE', not 'NO-WRITE'.

12 years ago | 1

Answered
Matlab code for atmosphere level 2 HDF files
If it's hdfeos (grid? swath?), take a look at the examples for HDFREAD. If you need finer control that what HDFREAD gives you, ...

12 years ago | 0

Answered
Need to save subset of netCDF file
If you have R2011a or more recent, look at the 2nd example for NCWRITESCHEMA. It is at least similar to what you want to do. I...

12 years ago | 0

| accepted

Answered
Why does 'imread' reads grayscale images as two-dimensional
Copied from comments above with minor edits: It's actually allowed for TIFFs to have more planes than one would normally th...

12 years ago | 2

| accepted

Answered
How to run netcdf.defVarFill for a variable defined as 'float'
If your netCDF variable is single precision, then your fill value must also be given as single precision, so netcdf.defVa...

12 years ago | 0

| accepted

Answered
Writing Compound Data to an Existing HDF5 file
You are opening the file in read-only mode, which is why the H5D.create call fails. Check the help for H5F.open, it has an exam...

12 years ago | 0

| accepted

Answered
Writing Compound Data into Groups in HDF5 files
Change line 89 from dset = H5D.create (file, DATASET, filetype, space, 'H5P_DEFAULT'); to (for example) plist...

12 years ago | 1

| accepted

Answered
Writing data as a table in a hdf5 file.
Only numeric data can be written with H5WRITE. In order to write table or compound data, you will need to use "formal" interfac...

12 years ago | 0

Answered
Reading in a 32bit tif
The SampleFormat for your existing TIFF is signed integer. The tiff class is erroring out because you set the SampleFormat to U...

12 years ago | 0

| accepted

Answered
ncwriteschema - assign variables and Dimensions to variables
The specification for the variable dimensions should be the same as in the dimensions themselves, i.e. just listing the dimensio...

12 years ago | 3

| accepted

Answered
CIELAB values from TIFF image
IMREAD converts CIELAB to ICCLAB (it should also warn you that it is doing this). If you want the raw CIELAB values as stored i...

12 years ago | 0

Answered
Trouble getting a variable from a netcdf file
Try using H5DISP and H5READ.

12 years ago | 0

Answered
Write data in a netcdf file
The extents you used to define your dimensions don't match up with the size of your matlab variables. Should the length of...

12 years ago | 0

Answered
Explore an hdf5 file
Go to MATLAB Central and search for HDF5TOOLS. It has a function called H5DUMP that should work on 2009a.

12 years ago | 0

| accepted

Answered
String length Change when writing Hdf5.h5strings
Hi Sameh, HDF5WRITE only writes out fixed-length strings, as you have noticed. It's also been deprecated in favor of a new high...

12 years ago | 0

Answered
Extracting TIFF image data with 2 StripOffsets in a single IFD
Hi Allen, both the Tiff class and IMREAD use libtiff under the hood, but libtiff does not support multiple values for the BitsPe...

12 years ago | 0

Answered
band indexing in an hdf 5 file
H5READ can do that for you.

12 years ago | 0

| accepted

Answered
Corrupt Image
When IMFINFO encounters a JPEG file, it will try to determine if the JPEG has exif metadata, which is stored in the APP1 segment...

13 years ago | 0

| accepted

Answered
NetCDF Read Slow Down - Sometimes
If your variable's 2nd dimension crosses a lot of chunk boundaries, that might explain why the initial read might be slow.

13 years ago | 0

| accepted

Answered
netCDF not being read properly
Is it possible that the data consists entirely of fill values? What version of matlab are you using? If you have 11a, what do ...

13 years ago | 0

Answered
compressing .tif images
Look at the help for IMWRITE or the Tiff class.

13 years ago | 0

Answered
LibTIFF + Matlab: how to change temporal position
Hi Ricardo, I was going to guess that "6 temporal positions" meant that there is 6 image file directories in the TIFF file? Whe...

13 years ago | 0

Answered
It is possible to change MODIS projection using matlab?
New packages were introduced in R2011a that make it easier to create HDF EOS files, and Cylindrical Equal-Area is a supported pr...

13 years ago | 0

Answered
determining color image format :
If the photometric interpretation tag in the TIFF file says RGB, then IMFINFO will report just that. IMREAD and the Tiff class ...

13 years ago | 0

Load more