N_DATA -> p_data->nb_obs (N_DATA is depreciated and will be removed soon)