<commit_before>#include <stdio.h>
#include <stdlib.h>
#include <vicNl.h>
 
static char vcid[] = "$Id$";

void write_atmosdata(atmos_data_struct *atmos, int nrecs)
/**********************************************************************
	write_atmosdata		<NAME>	Januray 1996

  This routine writes atmospheric data to the screen.

**********************************************************************/
{
  int i;

  printf("Atmospheric Data:\n");
  for (i = 0; i < 10; i++) {
    printf("\ti = %d\n", i);
    printf("\tMelt            = %lf\n", atmos[i].melt); 
    printf("\tPrec            = %lf\n", atmos[i].prec); 
    printf("\tAir_temp        = %lf\n", atmos[i].air_temp); 
    printf("\trainonly        = %lf\n", atmos[i].rainonly); 
    printf("\tWind            = %lf\n", atmos[i].wind); 
    printf("\talbedo          = %lf\n", atmos[i].albedo); 
    printf("\ttmin            = %lf\n", atmos[i].tmin); 
    printf("\ttmax            = %lf\n\n", atmos[i].tmax); 
  }
}


<commit_msg>modified atmospheric data debugging file so that it prints all used and estimated parameters<commit_after>#include <stdio.h>
#include <stdlib.h>
#include <vicNl.h>
 
static char vcid[] = "$Id$";

void write_atmosdata(atmos_data_struct *atmos, int nrecs)
/**********************************************************************
	write_atmosdata		<NAME>	Januray 1996

  This routine writes atmospheric data to the screen.

**********************************************************************/
{
  extern debug_struct debug;

  int i;

  for (i = 0; i < nrecs; i++) {
    fprintf(debug.fg_atmos,"%d",  i);
    fprintf(debug.fg_atmos,"\t%lf", atmos[i].melt); 
    fprintf(debug.fg_atmos,"\t%lf", atmos[i].prec); 
    fprintf(debug.fg_atmos,"\t%lf", atmos[i].air_temp); 
    fprintf(debug.fg_atmos,"\t%lf", atmos[i].rainonly); 
    fprintf(debug.fg_atmos,"\t%lf", atmos[i].wind); 
    fprintf(debug.fg_atmos,"\t%lf", atmos[i].rad); 
    fprintf(debug.fg_atmos,"\t%lf", atmos[i].vpd); 
    fprintf(debug.fg_atmos,"\t%lf", atmos[i].vp); 
    fprintf(debug.fg_atmos,"\t%lf", atmos[i].pressure); 
    fprintf(debug.fg_atmos,"\t%lf", atmos[i].density); 
    fprintf(debug.fg_atmos,"\t%lf", atmos[i].rel_humid); 
    fprintf(debug.fg_atmos,"\t%lf", atmos[i].spec_humid); 
    fprintf(debug.fg_atmos,"\t%lf", atmos[i].tmin); 
    fprintf(debug.fg_atmos,"\t%lf", atmos[i].tmax); 
    fprintf(debug.fg_atmos,"\t%lf", atmos[i].priest); 
    fprintf(debug.fg_atmos,"\t%lf", atmos[i].penman_temp); 
    fprintf(debug.fg_atmos,"\t%lf", atmos[i].tskc); 
    fprintf(debug.fg_atmos,"\t%lf", atmos[i].trans); 
    fprintf(debug.fg_atmos,"\t%lf", atmos[i].shortwave); 
    fprintf(debug.fg_atmos,"\t%lf", atmos[i].longwave); 
    fprintf(debug.fg_atmos,"\t%lf", atmos[i].albedo); 
    fprintf(debug.fg_atmos,"\t%i",  atmos[i].rise_hour); 
    fprintf(debug.fg_atmos,"\t%i",  atmos[i].set_hour); 
    fprintf(debug.fg_atmos,"\n");
  }

  fflush(debug.fg_atmos);

}



{'fraction_non_alphanumeric': 0.27681307456588355, 'fraction_numerical': 0.0040858018386108275, 'mean_word_length': 3.9048414023372287, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4073776', 'n_tokens_mistral': 1174, 'n_tokens_neox': 1119, 'n_words': 165}