# How can I use the Netcdf time Annotation

**URL:** https://discourse.paraview.org/t/how-can-i-use-the-netcdf-time-annotation/8227
**Category:** ParaView Support
**Created:** [October 20, 2021, 8:42am UTC](https://discourse.paraview.org/t/how-can-i-use-the-netcdf-time-annotation/8227 "2021-10-20T08:42:01Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![sitepan](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/e19b73/32.png) [@sitepan](https://discourse.paraview.org/u/sitepan)
#### Post date: [October 20, 2021, 8:42am UTC](https://discourse.paraview.org/t/how-can-i-use-the-netcdf-time-annotation/8227/1 "2021-10-20T08:42:01Z")

</div>

Hi  
I’m working with netcdf files in paraview (version 5.9.1 windos) and I need to use the filter ‘NetCDF Time Annotation’, but i can not find it.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [October 20, 2021, 9:07am UTC](https://discourse.paraview.org/t/how-can-i-use-the-netcdf-time-annotation/8227/2 "2021-10-20T09:07:59Z")

</div>

Time Annotation filter maybe ?

---

<div class="post-metadata">

### Author: ![Francois\_Mazen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/francois_mazen/32/6483_2.png) [@Francois\_Mazen](https://discourse.paraview.org/u/Francois_Mazen)
#### Post date: [October 21, 2021, 12:49pm UTC](https://discourse.paraview.org/t/how-can-i-use-the-netcdf-time-annotation/8227/3 "2021-10-21T12:49:42Z")

</div>

You should load the plugin NetCDFTimeAnnotationPlugin to use this filter.

In ParaView: Tools-\>Manage Plugins…

---

<div class="post-metadata">

### Author: ![sitepan](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/e19b73/32.png) [@sitepan](https://discourse.paraview.org/u/sitepan)
#### Post date: [October 25, 2021, 8:38am UTC](https://discourse.paraview.org/t/how-can-i-use-the-netcdf-time-annotation/8227/4 "2021-10-25T08:38:16Z")

</div>

There is no this plugin …

---

<div class="post-metadata">

### Author: ![felicia\_vis](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/f/b9bd4f/32.png) [@felicia\_vis](https://discourse.paraview.org/u/felicia_vis)
#### Post date: [October 27, 2021, 8:52am UTC](https://discourse.paraview.org/t/how-can-i-use-the-netcdf-time-annotation/8227/5 "2021-10-27T08:52:43Z")

</div>

I haven’t used that plugin, but I think you will need to build ParaView from source - see this forum entry: [NETCDF Time Annotation](https://discourse.paraview.org/t/netcdf-time-annotation/3695)

If you wish to avoid building from source, I just wrote a user-friendly Python filter that adds date (DD/MM/YYYY) and time (hours:min::sec) to NetCDF files, so you just need to load it via the Plugin Manager in a single step. I put it on GitHub with instructions and example files: [GitHub - FeliciaBrisc/ParaView-NetCDF-Date-And-Time-Plugin](https://github.com/FeliciaBrisc/ParaView-NetCDF-Date-And-Time-Plugin)  
The filter uses the netcdf4-python module, which you can easily install via Anaconda:  
conda install -c anaconda netcdf4 ( [Netcdf4 :: Anaconda.org](https://anaconda.org/anaconda/netcdf4) )

This filter is based on an older Python script I wrote, but it’s a lot more user-friendly - you can see the old script for example in this 2016 video: [Particles simulation of North Atlantic salinity at 20m depth - YouTube](https://youtu.be/wU93GUtCePE) or this newer one [A tropical-like cyclone in the Mediterranean Sea - YouTube](https://youtu.be/RsqeJE1ClRU) where the date is in the lower left corner, to get an image how it works.

Should this be useful, my conda and ParaView configuration (on Windows10):

1. I installed first ParaView 5.8.1 (which works with Python3.7)
2. In the Anaconda prompt(console), I created a Python3.7 environment in conda:  
conda create --name PYTHON37 python=3.7  
2A. Then the env. has to be activated:  
conda activate PYTHON37  
2B. Install netcdf4-python in this environment:  
conda install -c anaconda netcdf4  
2C. Point the system to your conda paths:  
set PYTHONHOME=C:\your\_path\anaconda3\envs\PYTHON37  
set PYTHONPATH=C:\your\_path\anaconda3\envs\PYTHON37\Lib
3. And finally start ParaView in this same conda prompt:  
D:\your\_path\_to\_ParaView581\bin\paraview.exe
4. And if you wish to use the filter I wrote, follow the steps form the Instructions pdf on Github - it’s just a few mouse clicks  
Repeat then step 2A,2C and 3 whenever you start ParaView

Hope this helps.
