# Help with fldread.F90 for surface boundary conditions

**URL:** <https://nemo-ocean.discourse.group/t/help-with-fldread-f90-for-surface-boundary-conditions/692>\
**Category:** v4.2.x\
**Tags:** SBC\
**Created:** [3 May 2024 15:00 UTC](https://nemo-ocean.discourse.group/t/help-with-fldread-f90-for-surface-boundary-conditions/692 "2024-05-03T15:00:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![David](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@David](https://nemo-ocean.discourse.group/u/David)\
**Post date:** [3 May 2024 15:00 UTC](https://nemo-ocean.discourse.group/t/help-with-fldread-f90-for-surface-boundary-conditions/692/1 "2024-05-03T15:00:43Z")

</div>

Hi all,  
I used to force my configuration with yearly climatological emp fields at daily frequency, which worked fine.  
Now I’m trying to go to fields at monthly frequency, making use of the time-interpolation implemented in fldread.F90. The simulation runs, but is constantly forced with the January values from my forcing.nc file, so I have no seasonal cycle.  
I assume it is a problem with the structure of my forcing file, but can’t find examples for how it should look. Here the output from ncdump -h:

```auto
netcdf emp_monthly_1deg {
dimensions:
        t = 12 ;
        y = 199 ;
        x = 52 ;
variables:
        double emp(t, y, x) ;
                emp:_FillValue = 0. ;
}

```

and my namelist\_cfg:

```auto
&namsbc_flx ! surface boundary condition : flux formulation (ln_flx =T)
!-----------------------------------------------------------------------
   cn_dir = './' ! root directory for the fluxes data location
   !
   ! ! file name ! frequency ! variable ! time interp.! clim ! monthly/yearly  
   sn_emp = 'emp_monthly_1deg' , -1 , 'emp' , .true. , .true. , 'yearly'  
/

```

I would appreciate any help with this!  
Thanks,  
David

---

<div class="post-metadata">

**Author:** ![robinson](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@robinson](https://nemo-ocean.discourse.group/u/robinson)\
**Post date:** [6 May 2024 06:00 UTC](https://nemo-ocean.discourse.group/t/help-with-fldread-f90-for-surface-boundary-conditions/692/2 "2024-05-06T06:00:36Z")

</div>

Hi David,

Can you try to set the time dimension of your netcdf file to “UNLIMITED” ?  
I think this could the be cause of your problem.

Hope this helps,

---

<div class="post-metadata">

**Author:** ![David](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@David](https://nemo-ocean.discourse.group/u/David)\
**Post date:** [6 May 2024 09:21 UTC](https://nemo-ocean.discourse.group/t/help-with-fldread-f90-for-surface-boundary-conditions/692/3 "2024-05-06T09:21:12Z")

</div>

thank you very much! That did the trick

---

<div class="post-metadata">

**Author:** ![smasson](https://avatars.discourse-cdn.com/v4/letter/s/eb9ed0/32.png) [@smasson](https://nemo-ocean.discourse.group/u/smasson)\
**Post date:** [6 May 2024 16:51 UTC](https://nemo-ocean.discourse.group/t/help-with-fldread-f90-for-surface-boundary-conditions/692/4 "2024-05-06T16:51:00Z")

</div>


