Skip to content

Conversation

@sawer297
Copy link
Contributor

@sawer297 sawer297 commented Jan 27, 2026

Description

changed the function of NgapOwnedContainer::access() to just set the container type and added a secondary fct called alt_access() that does the previous functionality of access()
changed the dmrppRequestHandler::get_dmrpp_from_container_or_cache() to use the alt_access() fct

Tasks

  • Ticket exists and is linked in title
  • Tests added/updated
  • Dead code removed
  • No TODOs added

Copy link
Member

@jgallagher59701 jgallagher59701 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This coming along. Thanks. When this passes it's tests, it can be merged.

// expensive, even when the container is intelligently written (DMR++ documents
// can be many megabytes in size). Fix this mess so that get_container_type()
// works without all of the handlers calling access() twice. jhrg 2/18/25
// temporary disable to see what breaks SBL - 12.20.25
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These comments should be updated. This part of the BES is fairly convoluted and we're going to want reminders of what is going on here - that FileContainer has one behavior but others like NgapOwnedContainer have this odd two-part operation that is now done using a second method unique to the DMR++ module.

build_dmrpp_h4_LDFLAGS = $(HDFEOS2_LDFLAGS) $(HDF4_LDFLAGS) $(BES_DAP_LIB_LDFLAGS)

# jhrg 12/18/23 $(top_builddir)/dap/.libs/libdap_module.a
# TODO Fix this kludge: $(builddir)/../.libs/libdmrpp_module.a. The code above in dmrpp_module
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is another comment that will need updating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants