Function

NumCosmoDataSNIACovget_fits

Declaration [src]

gchar*
nc_data_snia_cov_get_fits (
  const gchar* filename,
  gboolean check_size
)

Description [src]

Downloads catalog from the repository.

Parameters

filename

Type: const gchar*

Catalog fits filename.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
check_size

Type: gboolean

Whether to check if the file size matches.

Return value

Type: gchar*

Filename of the downloaded catalog.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.