! ./src/oblimap_gcm_to_im_program config-files/oblimap/ccsm-to-im/config_oblimap_ccsm_to_im_himalaya

&CONFIG 
NLON_config                                               =    128                                                ! The number of GCM grid points in the longitude direction
NLAT_config                                               =     64                                                ! The number of GCM grid points in the latitude  direction

NX_config                                                 =    200                                                ! The number of IM grid points in the x-direction
NY_config                                                 =    200                                                ! The number of IM grid points in the y-direction
dx_config                                                 =  20000                                                ! The           IM grid size   in the x-direction (in meter)
dy_config                                                 =  20000                                                ! The           IM grid size   in the y-direction (in meter)

lambda_M_config                                           =     90                                                ! The longitude coordinate of the middle point of projection (in degrees)
phi_M_config                                              =     32                                                ! The latitude  coordinate of the middle point of projection (in degrees)
alpha_stereographic_config                                =     14.5                                              ! alpha determines the standard parallel of the projection (in degrees)
choice_projection_method_config                           = 'oblique_stereographic_projection' 

scanning_mode_config                                      = .TRUE.
sid_filename_config                                       = './oblimap-sid-files/sid-file-ccsm-to-im-himalaya.txt'
!scan_search_block_size_config                             = 2
R_search_interpolation_config                             = 16000
shepard_exponent_config                                   = 2
nearest_point_assignment_config                           = .FALSE.

gcm_input_filename_config                                 = './data/ccsm/ccsm_example_dec_feb_pd.nc'
gcm_record_range_config                                   = 1,1

number_of_mapped_fields_config                            = 3
gcm_field_name_config(-4)                                 = 'lat'                                                 ! Should match with the gcm input file
gcm_field_name_config(-2)                                 = 'lon'                                                 ! Should match with the gcm input file
gcm_field_name_config(1)                                  = 'TS'                                                  ! Should match with the gcm input file
gcm_field_name_config(2)                                  = 'Accumulation'                                        ! Should match with the gcm input file
gcm_field_name_config(3)                                  = 'PHIS'                                                ! Should match with the gcm input file

im_field_name_config(1)                                   = 'Ts'
im_field_name_config(2)                                   = 'MB_surface'
im_field_name_config(3)                                   = 'Hs'

im_field_unit_config(-4)                                  = 'meter'
im_field_unit_config(-2)                                  = 'meter'
im_field_unit_config(1)                                   = 'Kelvin'
im_field_unit_config(2)                                   = 'mieq'
im_field_unit_config(3)                                   = 'meter'

im_field_longname_config(-4)                              = 'y-axis (meter)'
im_field_longname_config(-2)                              = 'x-axis (meter)'
im_field_longname_config(1)                               = 'surface temperature (Kelvin)'
im_field_longname_config(2)                               = 'surface mass balance (meter ice equivalent)'
im_field_longname_config(3)                               = 'surface height (meter)'

field_factor_config(1)                                    = 1
field_factor_config(2)                                    = 34677959.74
field_factor_config(3)                                    = 0.1019368

invalid_input_value_config(1)                             = -9999
invalid_input_value_config(2)                             = -9999
invalid_input_value_config(3)                             = -9999

im_created_filename_config                                = 'oblimap-results/im_himalaya_Ts_MB_surface_Hs_A.nc'
protect_file_overwriting_config                           = .FALSE.
oblimap_message_level_config                              = 0
/
