Re: [thredds] WMS is not updating when NetCDF file is updated or changed

  • To: Sean Arms <sarms@xxxxxxxx>
  • Subject: Re: [thredds] WMS is not updating when NetCDF file is updated or changed
  • From: Suman Sanjel <Suman.Sanjel@xxxxxxxxxx>
  • Date: Wed, 17 Feb 2021 04:09:22 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=icimod.org; dmarc=pass action=none header.from=icimod.org; dkim=pass header.d=icimod.org; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KgBhbug9Y7idCcbzeAOMRwYcSZ3TOZEQMweuZWYn/p0=; b=T2m1UdKAIrKlFxUW1QPjZ7ptV74Q72/NG/0l6PBaGKei9owPZ4mXbqNtECtqJeq+q0tCq/xsh/mr3p4WySNcYzlG81F6okytVCSM6FfSnEO+OG0GFG3uhS9l9VxSphARwzrMVt3ytmS+FpZDC0BHSadWuQOU2yuO0GPKFjH+LrFnXcqGF2PmqGy8VeLui9guh6ThpstSy1bLKyZ/ISYO/iQ175yS/aOdfAq/aVk/vxcu4c/NehugAfeIgyeSwHjwCeCDxR/wEtbZja6pfF1F59QNpUpkYR0MYstIMz5ey51rO3wnPkyPczmDrSuHWUFi3fSo/U2DqUliZCd3QgvFlQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AQVGg3zkZVYK4MadUSGpvlYqWVwYhqhh0UptVKWYM0SrhpHENKMakoBdKzfRRbB89gAhdBTfQbcFAb0t1JKcvJxfuZnjAjH0TW52CA/W/wh3K5S/jhjyu2VIte47ru5dFOJL5qj11K+L6e6yvwzrBOPOJoxgZajplLowf0mYiIfOm9ME9487Fsmrt6n9t6YC55rho5ZDRUGNfQk2Z2/asWnLNNg6LuIeFWSuVU+igD3hTWlBDP1X2zMNLrXoiFnNXjlyj5qM5yry2BgwnyRrIsEjXfyXtICo9m3BkwOHmMlZVVUN+BPLopZIKiJ/IGjoX24uPfmilKFd7ScmMCilhA==
  • Authentication-results: ucar.edu; dkim=none (message not signed) header.d=none; ucar.edu; dmarc=none action=none header.from=icimod.org;
Dear Sean,

Thank You for the kind support. For now, restarting the TDS solves the caching 
issue.
We are excited to use the released version of TDS 5.0.

Thank You
Suman Sanjel


From: Sean Arms [mailto:sarms@xxxxxxxx]
Sent: Friday, February 12, 2021 5:11 AM
To: Suman Sanjel
Cc: thredds@xxxxxxxxxxxxxxxx; Kiran Shakya
Subject: Re: [thredds] WMS is not updating when NetCDF file is updated or 
changed

Greetings Suman,

It is indeed a caching issue. There are several caches at work within the 
netCDF-java and TDS levels, and they generally do not account for the use case 
of an individual file being updated or overwritten. There are some mechanisms 
in place that are supposed to allow for the various caches to be purged 
remotely (though the admin/debug interface), but I do not know if those 
actually work (I've seen mixed reports). The 100% way to make sure it is 
updated is to restart the server, which can work if updates are infrequent, but 
that's still less than ideal. The cache (and control of the cache) situation is 
something that I'd like to work on once 5.0 is released.

Cheers,

Sean

On Thu, Feb 11, 2021 at 12:02 PM Suman Sanjel 
<Suman.Sanjel@xxxxxxxxxx<mailto:Suman.Sanjel@xxxxxxxxxx>> wrote:
 Dear THREDDS Data Server Team,

It's great to use THREDDS Data Server where we get lots of facilities.

Currently, We are using Development Release (version 5.0.0-beta8). And it is 
working fine.
I have one query regarding the cache of WMS. I have created WMS for one NetCDF 
file and it is working fine But when I update that NetCDF file the WMS is not 
updating. It seems like WMS is rendering from the cache. So my query is that 
how to Update the WMS once the NetCDF file is updated.
[cid:image001.jpg@01D70512.04F56420]

It will be great if you help to fix this problem.

Thank You
Suman Sanjel




---------------------------------------------------------------------------
[icimod blue png logo]

Suman Sanjel
GIS Application Developer
Geospatial Solutions
International Centre for Integrated Mountain Development
GPO Box 3226, Kathmandu, Nepal.
T +977-1-5275222  ext Extension no.   |   W 
www.icimod.org<https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.icimod.org%2F&data=04%7C01%7CSuman.Sanjel%40icimod.org%7C732897567507477ab1ed08d8cee4926c%7C4250582535cb4fa9b913673c2b4ddf7f%7C0%7C0%7C637486828421419704%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=N8kKTtUMy2WaJgX9c7nVU7eRvvskLNOLpumTXL9ShO4%3D&reserved=0>
Connect to ICIMOD:
[facebook-logo-button]<https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.facebook.com%2Ficimod&data=04%7C01%7CSuman.Sanjel%40icimod.org%7C732897567507477ab1ed08d8cee4926c%7C4250582535cb4fa9b913673c2b4ddf7f%7C0%7C0%7C637486828421429682%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=lQkXdqA2xK2qHPlgukmjm03RDIWdPBEiTVJLqJvLtVI%3D&reserved=0>
   [twitter-logo-button] 
<https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.twitter.com%2Ficimod&data=04%7C01%7CSuman.Sanjel%40icimod.org%7C732897567507477ab1ed08d8cee4926c%7C4250582535cb4fa9b913673c2b4ddf7f%7C0%7C0%7C637486828421434677%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=aKmWsoYqe52qreoFYak%2F9OfD3KiTet4Cs9a6EThhPjo%3D&reserved=0>
    [instagram] 
<https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.instagram.com%2F_icimod&data=04%7C01%7CSuman.Sanjel%40icimod.org%7C732897567507477ab1ed08d8cee4926c%7C4250582535cb4fa9b913673c2b4ddf7f%7C0%7C0%7C637486828421439665%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Wp9CzqNAmg%2BSYs1omlu0XHs1GZEip%2BJVyShRvQAmrEc%3D&reserved=0>
    [youtube-logotype] 
<https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.youtube.com%2Ficimod&data=04%7C01%7CSuman.Sanjel%40icimod.org%7C732897567507477ab1ed08d8cee4926c%7C4250582535cb4fa9b913673c2b4ddf7f%7C0%7C0%7C637486828421439665%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2FNHJJscFyC98X4WyAAefRS%2FtimjM2YpdQJRmL4BuZos%3D&reserved=0>
    [linkedin] 
<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Ficimod&data=04%7C01%7CSuman.Sanjel%40icimod.org%7C732897567507477ab1ed08d8cee4926c%7C4250582535cb4fa9b913673c2b4ddf7f%7C0%7C0%7C637486828421444655%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=nLsPdJ4EnhaTkIjvzlAm1oYPO3JKmpA5cC0PhhgXI3k%3D&reserved=0>
---------------------------------------------------------------------------
Protect the pulse.


This email and any file(s) transmitted with it may be confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the sender immediately or 
delete it from the system. Please note that any views or opinions presented in 
this email are solely those of the author and do not necessarily represent 
those of ICIMOD. ICIMOD has its own antivirus program which scans all the 
outgoing emails. However, ICIMOD accepts no liability and responsibility for 
any damage caused by this email.

_______________________________________________
NOTE: All exchanges posted to Unidata maintained email lists are
recorded in the Unidata inquiry tracking system and made publicly
available through the web.  Users who post to any of the lists we
maintain are reminded to remove any personal information that they
do not want to be made public.


thredds mailing list
thredds@xxxxxxxxxxxxxxxx<mailto:thredds@xxxxxxxxxxxxxxxx>
For list information or to unsubscribe,  visit: 
https://www.unidata.ucar.edu/mailing_lists/<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.unidata.ucar.edu%2Fmailing_lists%2F&data=04%7C01%7CSuman.Sanjel%40icimod.org%7C732897567507477ab1ed08d8cee4926c%7C4250582535cb4fa9b913673c2b4ddf7f%7C0%7C0%7C637486828421449644%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=UEnDN%2FgQVW2V5CEYuLCgU0RcI5PR0GuqYahePlBhK0A%3D&reserved=0>

This email and any file(s) transmitted with it may be confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the sender immediately or 
delete it from the system. Please note that any views or opinions presented in 
this email are solely those of the author and do not necessarily represent 
those of ICIMOD. ICIMOD has its own antivirus program which scans all the 
outgoing emails. However, ICIMOD accepts no liability and responsibility for 
any damage caused by this email.

JPEG image

PNG image

PNG image

PNG image

PNG image

PNG image

PNG image

  • 2021 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: