|
[Sponsors] |
August 20, 2015, 04:36 |
annotate time YYYY MM DD
|
#1 |
New Member
Join Date: Aug 2015
Posts: 2
Rep Power: 0 |
Hello,
I work on Netcdf files and in it i have a time dimension that is written as below : time:units = "months since 1993-12-01 00:00:00" ; time:time_origin = "1993-12-01 00:00:00" ; time:standard_name = "Time axis" ; time:axis = "t" ; time:calendar = "gregorian" ; time:long_name = "time" ; The problem is that on paraview i m not able to display the date in the format YYYY-MM-DD even if i can display the Time (in Days or Hours) with the Source -> Annotate Time or with the Filter -> annotate Time. I tried to write the date in my netcdf files but i can't find this variable in Paraview. I know it's possible because i saw some animation with the real date but i don't know how. Thank you in advance for your assistance. |
|
August 24, 2015, 04:01 |
|
#3 |
New Member
Join Date: Aug 2015
Posts: 2
Rep Power: 0 |
I can give you the complete header of my files but the files themselves are very large (between 500Mo and 20Go). I hope it's enough for you.
dimensions: time = UNLIMITED ; // (8760 currently) cell = 181724 ; nvert = 4 ; variables: double lat(cell) ; lat:long_name = "latitude" ; lat:bounds = "bounds_lat" ; lat:units = "degrees_north" ; double lon(cell) ; lon:long_name = "longitude" ; lon:bounds = "bounds_lon" ; lon:units = "degrees_east" ; int time(time) ; time:units = "months since 1994-01-01 00:00:00" ; time:time_origin = "1994-01-01 00:00:00" ; time:standard_name = "Time axis" ; time:axis = "t" ; time:calendar = "gregorian" ; time:long_name = "time" ; float tas(time, cell) ; tas:long_name = "Air temperature at 2m" ; tas:coordinates = "lon lat" ; tas:_FillValue = 9.96921e+36f ; double bounds_lon(cell, nvert) ; bounds_lon:_FillValue = 9.96920996838687e+36 ; double bounds_lat(cell, nvert) ; bounds_lat:local_name = "cornerslat" ; Thank you for your reply. |
|
August 24, 2015, 12:51 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings My_name_is_nobody,
Sorry, but I need a fully working file, which was why I asked for a small one The reason why I need one is to diagnose how the time data is being loaded by ParaView. Because as far as I know, ParaView usually only works with time in seconds, therefore I don't have a working example that has a complete date which would be rendered in the way you're asking for. In addition, I don't know if those time entries are being loaded as "Fields" from the file or if they are simply ignored. Best regards, Bruno |
|
Tags |
annotate, paraview, time, yyyy-mm-dd |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting up Lid driven Cavity Benchmark with 1M cells for multiple cores | puneet336 | OpenFOAM Running, Solving & CFD | 11 | April 7, 2019 01:58 |
pressure in incompressible solvers e.g. simpleFoam | chrizzl | OpenFOAM Running, Solving & CFD | 13 | March 28, 2017 06:49 |
simpleFoam error - "Floating point exception" | mbcx4jc2 | OpenFOAM Running, Solving & CFD | 12 | August 4, 2015 03:20 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 14:58 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 05:03 |