## KernelDB.add_mission()


Register a mission in the database.


Usage

``` python
KernelDB.add_mission(
    name,
    server_url,
    mk_dir_url,
    dedup=True,
)
```


If the mission already exists, the existing entry is replaced.


## Parameters


`name: str`  
Mission name, for example `"JUICE"`. It is canonicalised (H4), so `juice` and `Juice` collapse to the same row. The names `generic` and `unknown` stay lowercase, every other name becomes uppercase.

`server_url: str`  
Root server URL, for example the NASA or ESA SPICE archive.

`mk_dir_url: str`  
Full URL of the mission's `mk/` directory.

`dedup: bool = ``True`  
Whether deduplication is enabled for this mission. [deduplicate_plan](KernelDB.deduplicate_plan.md#spice_kernel_db.KernelDB.deduplicate_plan) respects it.
