# Edit JULES script

**URL:** <https://cms-helpdesk.ncas.ac.uk/t/edit-jules-script/926>\
**Category:** JULES\
**Created:** [28 February 2023 13:52 UTC](https://cms-helpdesk.ncas.ac.uk/t/edit-jules-script/926 "2023-02-28T13:52:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gwy](https://avatars.discourse-cdn.com/v4/letter/g/8e8cbc/32.png) [@gwy](https://cms-helpdesk.ncas.ac.uk/u/gwy)\
**Post date:** [28 February 2023 13:52 UTC](https://cms-helpdesk.ncas.ac.uk/t/edit-jules-script/926/1 "2023-02-28T13:52:36Z")

</div>

Hi Helpdesk,

I am trying to alter the part of code in sf\_stom\_jls file but I find it difficult to find where the data input is and I am not sure about the time-step used for the suite. Or if I can merge them to sub-daily or half-hourly for example.

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![pmcguire](https://avatars.discourse-cdn.com/v4/letter/p/b782af/32.png) [@pmcguire](https://cms-helpdesk.ncas.ac.uk/u/pmcguire)\
**Post date:** [28 February 2023 15:01 UTC](https://cms-helpdesk.ncas.ac.uk/t/edit-jules-script/926/2 "2023-02-28T15:01:27Z")

</div>

Hi Wenyao:  
I guess you’re talking about the u-al752 suite. Is that correct?

The timestep length for the FLUXNET sites in that suite are found in, for example (for the AT\_Neu site):  
`~/roses/u-al752/app/jules/opt/rose-app-drive-AT_Neu.conf`,  
where it says:  
` **timestep** _len=1800`

This is 1800 seconds = 30 minutes, which is half-hourly. This has the timestep for the JULES model being the same as the timestep of the driving data. For some of the other sites, it is hourly.

The driving data is given, for example, in the file:  
`~/roses/u-al752/app/jules/opt/rose-app-drive-AT_Neu.conf`,  
where it says:  
file=‘$FLUXNET2015\_DRIVE\_DIR/AT\_Neu-met.dat’

The observational data is found in the file  
`~/roses/u-al752/suite.rc`,  
where it says:

```auto
DATA_VERSION=1.4
DATA_FOLDER={{ SUITE_DATA }}/testvn$DATA_VERSION
...
FLUXNET2015_DRIVE_DIR = $DATA_FOLDER/fluxnet
...
OBS_FOLDER = $DATA_FOLDER/fluxnet_obs/

```

The file:  
`~/roses/u-al752/rose-suite.conf`  
says:  
`SUITE_DATA='/gws/nopw/j04/jules/pmcguire/fluxnet/kwilliam/suite_data'`

Does this help?  
If you have any other questions, just let me know.  
Patrick

---

<div class="post-metadata">

**Author:** ![gwy](https://avatars.discourse-cdn.com/v4/letter/g/8e8cbc/32.png) [@gwy](https://cms-helpdesk.ncas.ac.uk/u/gwy)\
**Post date:** [28 February 2023 15:32 UTC](https://cms-helpdesk.ncas.ac.uk/t/edit-jules-script/926/3 "2023-02-28T15:32:10Z")

</div>

Dear Patrick,

Thanks for your help. I wonder if it is possible just to have JULES run on one site. For example just run for AT\_Neu set perhaps. Can I extract one or can I disable the others. I know I can exclude neon sites but what about others.

Thanks.

---

<div class="post-metadata">

**Author:** ![pmcguire](https://avatars.discourse-cdn.com/v4/letter/p/b782af/32.png) [@pmcguire](https://cms-helpdesk.ncas.ac.uk/u/pmcguire)\
**Post date:** [28 February 2023 15:50 UTC](https://cms-helpdesk.ncas.ac.uk/t/edit-jules-script/926/4 "2023-02-28T15:50:44Z")

</div>

Hi Wenyao:  
Have you studied the `suite.rc` file yet? It is located at `~/roses/u-al752/suite.rc`. Please do study that file to see how things work.

In there, you can see that there is a `selected_sites` variable. You can enable using only the sites listed in `selected_sites` by setting `SUBSET='selection'` in your `~/roses/u-al752/rose-suite.conf` file.

Let me know if this works for you or not.  
Patrick

---

<div class="post-metadata">

**Author:** ![gwy](https://avatars.discourse-cdn.com/v4/letter/g/8e8cbc/32.png) [@gwy](https://cms-helpdesk.ncas.ac.uk/u/gwy)\
**Post date:** [28 February 2023 17:26 UTC](https://cms-helpdesk.ncas.ac.uk/t/edit-jules-script/926/5 "2023-02-28T17:26:29Z")

</div>

It is running now. Thanks a lot for your help.  
Best,  
Gan

---

<div class="post-metadata">

**Author:** ![pmcguire](https://avatars.discourse-cdn.com/v4/letter/p/b782af/32.png) [@pmcguire](https://cms-helpdesk.ncas.ac.uk/u/pmcguire)\
**Post date:** [1 March 2023 13:50 UTC](https://cms-helpdesk.ncas.ac.uk/t/edit-jules-script/926/6 "2023-03-01T13:50:11Z")

</div>

Hi Wenyao:  
That’s great to hear! You’re welcome!  
Patrick

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/cms_support/original/1X/1fd2411499ffcbc299fe756cd5cdf26e44956558.png) [@system](https://cms-helpdesk.ncas.ac.uk/u/system)\
**Post date:** [3 March 2023 13:50 UTC](https://cms-helpdesk.ncas.ac.uk/t/edit-jules-script/926/7 "2023-03-03T13:50:50Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
