OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
read_write.c File Reference
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include "mfhdf.h"
Include dependency graph for read_write.c:

Go to the source code of this file.

Functions

int32 open_sds (int32 sd_id, char *sds_name)
 
int read_sds_block (int32 sds_id, int startline, int buflines, void *dataP)
 
int read_sds (int32 sd_id, char *sds_name, void *dataP)
 
int read_attr (int32 sd_id, char *attrname, void *attr)
 
int write_sds (int32 sd_id, char *SDSname, void *data, int startline, int buflines, int Nl, int Np, int32 numtype, void *fillvalue, float64 scale_factor, char verbose, char gzip)
 

Function Documentation

◆ open_sds()

int32 open_sds ( int32  sd_id,
char *  sds_name 
)

Definition at line 6 of file read_write.c.

◆ read_attr()

int read_attr ( int32  sd_id,
char *  attrname,
void *  attr 
)

Definition at line 61 of file read_write.c.

◆ read_sds()

int read_sds ( int32  sd_id,
char *  sds_name,
void *  dataP 
)

Definition at line 42 of file read_write.c.

◆ read_sds_block()

int read_sds_block ( int32  sds_id,
int  startline,
int  buflines,
void *  dataP 
)

Definition at line 19 of file read_write.c.

◆ write_sds()

int write_sds ( int32  sd_id,
char *  SDSname,
void *  data,
int  startline,
int  buflines,
int  Nl,
int  Np,
int32  numtype,
void *  fillvalue,
float64  scale_factor,
char  verbose,
char  gzip 
)

Definition at line 75 of file read_write.c.