NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdfgroup] [EXTERNAL] [BULK] Re: New problem accessing netcdf with Gradle

  • To: "ben.v.root@xxxxxxxxx" <ben.v.root@xxxxxxxxx>
  • Subject: Re: [netcdfgroup] [EXTERNAL] [BULK] Re: New problem accessing netcdf with Gradle
  • From: "Wohler, Bill (ARC-TN)[SETI INSTITUTE]" <bill.wohler@xxxxxxxx>
  • Date: Thu, 22 May 2025 15:48:07 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nasa.gov; dmarc=pass action=none header.from=nasa.gov; dkim=pass header.d=nasa.gov; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=bDy0DqF52a4XftSHqBU4KvrSoxQz5ZC7syahaWyrvJ4=; b=fquCO/Ow8suFfP9qoNzEXNkEIGSY0E2cQMRfK/v0/n3MHUWXdvao4uCbVZj3QvTUHEvGmW1wcMR+e6f73egDBZWRXQQwPiD8dsFGYdH5f/StIVQdSDwLefx9hIlpS771pTYeOg9valX5QoxPvrtVgeHMJcFcdrjetPZwq6y+5wuMtnQEz+krGe03E3u3HS1yI2DdD5gGiMGsgml0BlAm8xfUEbG6qcIAALoGwpdhdSMBf15MmL6+TnR1CCRdp4DLCHfQ+roZTmhtbDs6/FpwBGw8nVoyqVb5PCA5dTpwHwOkXK4An/h0H5TdOpWXW162djLrVkRZoqb0BuDnMMPT1w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=LMx7lLOSVf0oQfIfnVhNAnceT6u16bHtQoDN4I0Rx3uosl2PL/tQb63wRQY7IrQKost+1QEeJeLTRqrywY8JwtTiWaZ8SWtJELFSNFoILZT8QaOeozKzNOCBJUwcjipizX9b+NT+L7VwFRe5vPfcdi61nAZNLd1zHJpc3RrcpyHuEm96wxN3uoKYhYHGQaMI3D/cCZQRSS7K/idL9wIzCAm2LMqEK/eKv7MDdNRPwFgPFpavqpxdJYDHy7iTtnBuNa1kXmOiAMH8elCms0Wn9IMoajUJ2UW6z6Exg/q/rzPaFJK8Z8mZEn7EUJZNPtoLpXAtTeGHks29GvG1kdVjpw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nasa.gov;
Thanks, Benjamin.

The good news is that the problem resolved itself last night, perhaps with an 
appreciated effort from one of you.


--

Bill Wohler <Bill.Wohler@xxxxxxxx<mailto:Bill.Wohler@xxxxxxxx>> aka 
<wohler@xxxxxxxx<mailto:wohler@xxxxxxxx>>
Cell: 650-380-1804

-----Original Message-----
From: Benjamin Root 
<ben.v.root@xxxxxxxxx<mailto:Benjamin%20Root%20%3cben.v.root@xxxxxxxxx%3e>>
To: "Wohler, Bill (ARC-TN)[SETI INSTITUTE]" 
<bill.wohler@xxxxxxxx<mailto:%22Wohler,%20Bill%20%28ARC-TN%29%5bSETI%20INSTITUTE%5d%22%20%3cbill.wohler@xxxxxxxx%3e>>
Cc: netcdfgroup@xxxxxxxxxxxxxxxx 
<netcdfgroup@xxxxxxxxxxxxxxxx<mailto:%22netcdfgroup@xxxxxxxxxxxxxxxx%22%20%3cnetcdfgroup@xxxxxxxxxxxxxxxx%3e>>
Subject: [EXTERNAL] [BULK] Re: [netcdfgroup] New problem accessing netcdf with 
Gradle
Date: Wed, 21 May 2025 19:22:28 -0400

CAUTION: This email originated from outside of NASA.  Please take care when 
clicking links or opening attachments.  Use the "Report Message" button to 
report suspicious messages to the NASA SOC.



I think netcdf-java recently bumped up the Spring framework version 
requirement. I don't recall the details, but I think the minimum java version 
also got bumped.

On Tue, May 20, 2025 at 7:34 PM Wohler, Bill (ARC-TN)[SETI INSTITUTE] 
<bill.wohler@xxxxxxxx<mailto:bill.wohler@xxxxxxxx>> wrote:
[I had sent this message to the support mailing list, but got an automatic 
reply that operations are paused until funding resumes and that I should send 
my question here. I understand that you won't be able to fix the problem, but 
perhaps you can suggest some workarounds until the problem can be fixed. My 
current thinking is that it should be possible to copy the library to a local 
Maven repository and point my build at that. What do you think?]

We just started getting the following error out of the blue when compiling our 
Java code with Gradle that makes use of the netcdf libraries.

     > Could not resolve edu.ucar:netcdf4:4.6.+.
Required by:
     project :code:spoc-protobuf
  > Failed to list versions for edu.ucar:netcdf4.
     > Unable to load Maven meta-data from 
https://artifacts.unidata.ucar.edu/repository/unidata-all/edu/ucar/netcdf4/maven-metadata.xml.
> Could not HEAD 
> 'https://artifacts.unidata.ucar.edu/repository/unidata-all/edu/ucar/netcdf4/maven-metadata.xml'.
>  Received status code 403 from server: Forbidden

What's weird is that I can access maven-metadata.xml just fine with my browser 
or with curl. Have you seen this problem? Do you have any idea what might be 
the source of the problem?

We've been using the netcdf library in our build.gradle files for a long time 
like this:

    repositories {
        mavenCentral()
        maven {
            url = "https://artifacts.unidata.ucar.edu/repository/unidata-all/";
        }
    }
    ...
    dependencies {
        ...
        implementation 'edu.ucar:netcdf4:4.6.+'
...
    }

Interestingly, this error went away when I used "implementation 
'edu.ucar:netcdf4:+'", which will match the highest available version. I was 
surprised to see that it downloaded version 4.5.5, not a more recent version! 
That might indicate a problem with the last update of your metadata. (Version 
4.6, which we're still using, seems to add Closeable to NetcdfFileWriter, which 
we are taking advantage of with try-with-resources, so our code is broken with 
the older version.)

Thanks, I look forward to hearing from you.


--

Bill Wohler <Bill.Wohler@xxxxxxxx> aka <wohler@xxxxxxxx>
Cell: 650-380-1804

--

Bill Wohler <Bill.Wohler@xxxxxxxx> aka <wohler@xxxxxxxx>
Cell: 650-380-1804
_______________________________________________

NOTICE:  Due to the current gap in continued funding from the U.S. National 
Science Foundation (NSF),
the NSF Unidata Program Center has temporarily paused most operations. Please 
see this link for details:
https://www.unidata.ucar.edu/blogs/news/entry/nsf-unidata-pause-in-most

netcdfgroup mailing list
netcdfgroup@xxxxxxxxxxxxxxxx
To subscribe: netcdfgroup-join@xxxxxxxxxxxxxxxx
To unsubscribe: netcdfgroup-leave@xxxxxxxxxxxxxxxx

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